[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5222?page=c...
]
Robert Mlekus commented on HHH-5222:
------------------------------------
javax.persistence.EntityManager.lock(object, javax.persistence.LockModeType.WRITE) is
broken in hibernate 3.6.4 (jboss-6.1.0-snapshot), too (was working in Hibernte 3.3.1
(JBoss 5.1.0))
workaround: replace the javax.persistence EntityManager.lock with a
HibernateSession.locklock( item, LockMode.FORCE );
(which makes the code hibernate specific, though!)
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
Reporter: Scott Marlow
Assignee: Scott Marlow
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