[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4546) add JPA 2.0 locking
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Thu Dec 10 03:56:09 EST 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34905#action_34905 ]
Emmanuel Bernard commented on HHH-4546:
---------------------------------------
Scott,
When you are done implementing javax.persistence.lock.timeout and map it to an Hibernate LockTimeoutException,
Make sure to edit AbstractEntityManagerImpl#convert and add the mapping between the Hibernate Exception and JPA's javax.persistence.LockTimeoutException
I've added the logic to *not* rollback the transaction when javax.persistence.LockTimeoutException is raised.
Also, the persistence context must be in a usable state after a lock timeout exception (unlike many exceptions we raise).
> add JPA 2.0 locking
> -------------------
>
> Key: HHH-4546
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4546
> Project: Hibernate Core
> Issue Type: Sub-task
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Attachments: hhh-4546.patch, hhh-4546.patch, hhh-4546.patch, savepoint4.patch
>
>
--
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