[hibernate-issues] [Hibernate-JIRA] Updated: (EJB-340) Regression : OnLoad() callback is never invoked on an Interceptor in an EJB3 environment
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Thu Feb 28 19:43:33 EST 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/EJB-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bernard updated EJB-340:
---------------------------------
Fix Version/s: 3.3.2.ga
> Regression : OnLoad() callback is never invoked on an Interceptor in an EJB3 environment
> ----------------------------------------------------------------------------------------
>
> Key: EJB-340
> URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-340
> Project: Hibernate Entity Manager
> Issue Type: Bug
> Affects Versions: 3.3.2.Beta3
> Reporter: Jose CHILLAN
> Fix For: 3.3.2.ga
>
> Original Estimate: 15 minutes
> Remaining Estimate: 15 minutes
>
> The method onLoad() is not inovked on an EJB3 interceptor, whereas this works in a plain Hibernate environment.
> It seems that the default PreLoadEventListener that is registered by the EventListenerConfiguration
> doesn't take the interceptor into accound.
> A workaround is to modify the configuration to add the default plain Hibernate listener in the persistence.xml:
> <persistence ...>
> <persistence-unit>
> ...
> <properties>
> <property name="hibernate.ejb.event.pre-load" value="org.hibernate.secure.JACCPreLoadEventListener, org.hibernate.event.def.DefaultPreLoadEventListener" />
> </properties>
> </persistence-unit>
> </persistence>
> But this would be great to have this by default.
--
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