[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5052) EventListenerConfigurator uses Ejb3Configuration but could use AnnotationConfiguration instead

Emmanuel Bernard (JIRA) noreply at atlassian.com
Wed Mar 31 08:21:31 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=36053#action_36053 ] 

Emmanuel Bernard commented on HHH-5052:
---------------------------------------

Not exactly true as we do change the contextual class loader in some of these method calls.
But more importantly, why do you want to pass an AnnotationConfiguration instead of an Ejb3Configuration?

> EventListenerConfigurator uses Ejb3Configuration but could use AnnotationConfiguration instead
> ----------------------------------------------------------------------------------------------
>
>                 Key: HHH-5052
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5052
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: annotations, entity-manager
>    Affects Versions: 3.2.6, 3.2.7, 3.3.0.CR1, 3.3.0.CR2, 3.3.0.GA, 3.3.0.SP1, 3.3.1, 3.3.2, 3.5.0.Beta-1, 3.5.0-Beta-2, 3.5.0-Beta-3, 3.5.0-Beta-4, 3.5.0-CR-1, 3.5.0-CR-2
>         Environment: Tested with Hibernate 3.2.6ga, Annotations 3.2.1ga, EntityManager 3.3.2ga but seems to affect the code in the trunk.
>            Reporter: Alexandre Walter Pretyman
>            Priority: Trivial
>             Fix For:  3.5.x
>
>
> The class EventListenerConfigurator uses Ejb3Configuration on it's constructor, but it could use AnnotationConfiguration directly, as the methods called on the Ejb3Configuration instance by the EventListenerConfigurator, are actually delegations to the AnnotationConfiguration .

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list