[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1355?page=c...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira