These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: JTA Transaction Manager to be used with websphere 7.0
PostPosted: Wed Sep 01, 2010 3:45 am 
Newbie

Joined: Wed Sep 01, 2010 3:22 am
Posts: 5
The hibernate documentation suggests the use of org.hibernate.transaction.WebSphereExtendedJTATransactionLookup with websphere 6.0. Could anyone please tell me what is the JTATransactionLookup that needs to be used with websphere 7.0 Currently I am getting the following error when using WebSphereExtendedJTATransactionLookup for org.hibernate.id.enhanced.TableGenerator (HiLo optimizer)

Caused by: org.hibernate.HibernateException: error performing isolated work


Top
 Profile  
 
 Post subject: Re: JTA Transaction Manager to be used with websphere 7.0
PostPosted: Thu Jun 02, 2011 2:25 am 
Newbie

Joined: Wed Sep 01, 2010 3:22 am
Posts: 5
I did not get any response to this question in the forum but wanted to share my experience for people who may be facing a similar issue. WebSphereExtendedJTATransactionLookup will not support isolated transaction with its current code since begin method and commit method throws UnsupportedException. Hence in its current format TableHiLoGenerator will not work with WebSphereExtendedJTATransactionLookup.

Intrestingly, Hibernate source code comment says WebSphereTransactionManagerLookup supports version 4, 5.0 and 5.1 and WebSphereExtendedJTATransactionLookup supports version 6.0. There is no mention of Support for Websphere 7.0.

In websphere 7.0 we have been using WebSphereTransactionManagerLookup with table HiLo generator and haven't faced any issue until now. So I think this should work.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.