[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5222) upgrade to OPTIMISTIC_FORCE_INCREMENT fails

Scott Marlow (JIRA) noreply at atlassian.com
Wed Nov 23 12:14:19 EST 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44398#comment-44398 ] 

Scott Marlow commented on HHH-5222:
-----------------------------------

The mapping itself, from JPA to Hibernate seems correct to me too.

If we change hibernate.LockMode.OPTIMISTIC(3) to hibernate.LockMode.OPTIMISTIC(6), we will go through the upgrade steps for that transition.

If we change hibernate.LockMode.OPTIMISTIC_FORCE_INCREMENT(4) to hibernate.LockMode.OPTIMISTIC_FORCE_INCREMENT(7), I think that covers (entering the upgrade steps for) the transition from READ to OPTIMISTIC_FORCE_INCREMENT.

> upgrade to OPTIMISTIC_FORCE_INCREMENT fails
> -------------------------------------------
>
>                 Key: HHH-5222
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5222
>             Project: Hibernate Core
>          Issue Type: Bug
>    Affects Versions: 3.6.8, 4.0.0.CR6
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>         Attachments: HHH-5222-test.txt
>
>
> See hhh5032-2.patch attached to HHH-5032 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list