[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1355) Post update event listener semantics changed from Hibernate 3.0 to 3.1

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Aug 11 16:24:18 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1355?page=comments#action_23905 ] 

Steve Ebersole commented on HHH-1355:
-------------------------------------

That code block you refer to was added for dealing with generated properties which was a major feature added between 3.0 and 3.1.  I need a *simplified* test case illustrating the issue you have.

> Post update event listener semantics changed from Hibernate 3.0 to 3.1
> ----------------------------------------------------------------------
>
>          Key: HHH-1355
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1355
>      Project: Hibernate3
>         Type: Bug

>   Components: core
>     Versions: 3.1
>     Reporter: Pekka Enberg
>     Priority: Blocker
>      Fix For: 3.2.0.ga

>
>
> We are using Hibernate event model to implement transparent localization of POJOs. It is implemented as PreUpdateEventListener and PostUpdateEventListener so that a POJO is manipulated at PreUpdateEventListener before letting Hibernate to persist it and restored in PostUpdateEventListener. This works in Hibernate 3.0 but in 3.1 post update event semantics have changed so now we are unable to restore the state without Hibernate thinking the POJO is dirty.
> This issue is related to the following forum topic: http://forum.hibernate.org/viewtopic.php?t=953934

-- 
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