[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2457) UnsupportedOperationException with WebSphereExtendedJTATransactionLookup
Heinz Huber (JIRA)
noreply at atlassian.com
Thu Mar 13 16:59:42 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_29790 ]
Heinz Huber commented on HHH-2457:
----------------------------------
I've assembled a patch which works.
Only drawback: JDBCContext.beforeTransactionCompletion may not work correctly. It works the same as in old Hibernate version, though.
> UnsupportedOperationException with WebSphereExtendedJTATransactionLookup
> ------------------------------------------------------------------------
>
> Key: HHH-2457
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2457
> Project: Hibernate3
> Issue Type: Bug
> Affects Versions: 3.2.2
> Reporter: Erik Post
> Attachments: transaction-was6.zip
>
>
> Using the WebSphereExtendedJTATransactionLookup as transaction manager lookup class results in an UnsupportedOperationException being thrown by WebSphereExtendedJTATransactionLookup$TransactionManagerAdapter.getStatus(). This method is called by JTATransactionFactory.isTransactionInProgress().
> Would a solution be to have the TransactionManagerAdapter#getStatus method delegate to the TransactionAdapter#getStatus method?
> Also see http://forum.hibernate.org/viewtopic.php?t=966463
--
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