[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6362?page=c...
]
Gail Badner commented on HHH-6362:
----------------------------------
I've pushed a commit that updates EntityBindingStateImpl.getOptimisticLockMode()
converts the org.hibernate.annotations.OptimisticLockType to the appropriate Versioning
static constant.
I made this temporary fix because this issue was causing a test failure in some new
persister code I'm about to commit.
EntityBindingStateImpl.getOptimisticLockMode() returns
annotations-specific value
---------------------------------------------------------------------------------
Key: HHH-6362
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6362
Project: Hibernate Core
Issue Type: Bug
Components: metamodel
Reporter: Gail Badner
Assignee: Gail Badner
Fix For: 4.0.0.next
The ordinal values for org.hibernate.annotations.OptimisticLockType are not consistent
with org.hibernate.engine.internal.Versioning constants, resulting in the incorrect value
being returned by EntityBinding.getOptimisticLockMode().
--
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