[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-7034) java.sql.SQLTimeoutException should be mapped to org.hibernate.QueryTimeoutException

Gail Badner (JIRA) noreply at atlassian.com
Wed Feb 8 02:03:10 EST 2012


    [ https://hibernate.onjira.com/browse/HHH-7034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45404#comment-45404 ] 

Gail Badner commented on HHH-7034:
----------------------------------

Steve, do you have an opinion on which alternative is more appropriate in this case?

> java.sql.SQLTimeoutException should be mapped to org.hibernate.QueryTimeoutException
> ------------------------------------------------------------------------------------
>
>                 Key: HHH-7034
>                 URL: https://hibernate.onjira.com/browse/HHH-7034
>             Project: Hibernate ORM
>          Issue Type: Bug
>          Components: core
>            Reporter: Gail Badner
>            Assignee: Gail Badner
>             Fix For: 4.1.0
>
>
> In SQLExceptionTypeDelegate.convert(), java.sql.SQLTimeoutException should be mapped to org.hibernate.QueryTimeoutException.
> This fixes the org.hibernate.ejb.test.lock.LockTest failures on oracle11gR2:
> - testQueryTimeout()
> - testQueryTimeoutEMProps()
> I did not test this on oracle11gR2RAC, but the failures appear to be the same as oracle11gR2.

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