[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1027) session.lock() with UPGRADE_NOWAIT no longer works with Oracle9

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 21 13:00:50 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-1027.
-------------------------------


Closing stale resolved issues

> session.lock() with UPGRADE_NOWAIT no longer works with Oracle9
> ---------------------------------------------------------------
>
>                 Key: HHH-1027
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1027
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.1 rc 1
>         Environment: Hibernate 3.1 beta 3
> Oracle 9
>            Reporter: Achim Lörke
>            Assignee: Steve Ebersole
>            Priority: Blocker
>
> With fix HHH-924 the SQLStateConverter replaced the version from Oracle9Dialect. This generic converter doesn't handle the error codes from Oracle when UGRADE_NOWAIT is used and the row is already locked, so instead of getting a LockAcquisitionException a GenericSQLException is thrown.  (org.hibernate.exception.ErrorCodeConverter which handled this kind of SQL errors was removed, too).
> This breaks a lot of code which relies on locking with Oracle.

-- 
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