-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate transaction with WAS5.1
PostPosted: Wed Oct 05, 2011 3:20 pm 
Newbie

Joined: Wed Oct 05, 2011 3:02 pm
Posts: 1
Hi,

I am new to hibernate and we are trying to use hibernate 3.5.6 in WAS 5.1, Since we are using session bean to call our DAO, we would like to use CMT to manage the transaction. But so far we tried different combination of configuration, but none of them is working.

Here is what we tried:
using:
<property name="transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property><property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.WebSphereTransactionManagerLookup</property>
<property name="jta.UserTransaction">java:comp/UserTransaction</property>

but we couldn't find userTransaction, from what I read, it seems WAS 5.1 doesn't expose it anymore.

Using: WebSphereExtendedJTATransactionLookup for the manager_lookup_class

Using JTATransactionFactory only

So far the only one work is non-managed transaction JDBCTransaction, which we really don't want to use.

I find someone made it working in WAS5.1, but there is no specifics. Can someone shed some lights on this? We've been struggle for a few days already, any information is greatly appreciated.

thanks


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

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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.