java.sql.SQLTimeoutException should be mapped to org.hibernate.QueryTimeoutException

Description

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.

Activity

Zbyněk RoubalíkFebruary 29, 2012 at 11:55 AM

Steve EbersoleFebruary 9, 2012 at 6:21 AM

Closing for 4.1 release

Former userFebruary 8, 2012 at 7:32 PM

Fixed in master.

Steve EbersoleFebruary 8, 2012 at 3:43 PM

SQLExceptionTypeDelegate seems the appropriate place to me

Former userFebruary 8, 2012 at 9:02 AM

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

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created February 8, 2012 at 8:49 AM
Updated February 29, 2012 at 11:55 AM
Resolved February 8, 2012 at 7:32 PM

Flag notifications