Specify the error instead on general UnsupportedOperationException

Description

The API's in the class WebSphereExtendedJTATransactionLookup does not give a meaningful exception if there is an exception and the transaction fails. For any failure with the transaction the "UnsupportedOperationException" is thrown.

There has been many links on this exception and a first look shows this as a bug with Hibernate.

http://opensource.atlassian.com/projects/hibernate/browse/HHH-2457
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2124
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3111
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1287

Need resolution to identify the error and throw the related exception instead on general UnsupportedOperationException.

Environment

Hibernate 3.2.5, WebSphere 6.1.0.5, Windows XP, RAD 7.0.0.2, Oracle 10g

Activity

Show:
Gail Badner
May 14, 2010, 11:49 PM

Is this still an issue using 3.5.2?

Rincy Rappai
May 17, 2010, 8:57 AM

Hello Gail,

Thanks for your quick response.

We have observed this reported issue in Hibernate version 3.2.5. So, just checking if this issue is fixed in 3.5.2 (the latest version of hibernate). If yes, could you please provide me with the Hibernate JIRA bug reference number?

Regards,
Rincy

Brett Meyer
November 28, 2013, 1:47 AM

Out of date – *TransactionLookup no longer exists.

Out of Date

Assignee

Unassigned

Reporter

Rincy Rappai

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major