]
Steve Ebersole closed HHH-1546.
-------------------------------
Closing stale resolved issues
generated version properties fail with multiple actions per flush
-----------------------------------------------------------------
Key: HHH-1546
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1546
Project: Hibernate Core
Issue Type: Bug
Components: core
Reporter: Steve Ebersole
Assignee: Steve Ebersole
Priority: Minor
Fix For: 3.2.0.alpha2, 3.1.3
An entity with a version property that is defined as generated will cause bogus
optimistic lock failures if the given entity has multiple queued actions for a given flush
cycle. The cause is that the actions are constructed before any of the DML has been
executed and cache the "previousVersion" to use for optimistic locking based on
the entity's current state.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: