[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6362) EntityBindingStateImpl.getOptimisticLockMode() returns annotations-specific value
Gail Badner (JIRA)
noreply at atlassian.com
Thu Jun 23 21:08:53 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42706#action_42706 ]
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list