-->
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: JTOM Hibernate integration for distributed transaction
PostPosted: Thu Jul 20, 2006 11:03 pm 
Newbie

Joined: Thu Jul 20, 2006 10:51 pm
Posts: 1
Hi

I am a newbie to hibernate I am looking at integrating Hibernate with JTOM , my requiremnent is to manage a transaction across multiple databases.

I have read through some articles and it seems that I can use JTOM user transaction for doing the same. It will be a greart help if some one can share some information/ code snippet regarding how to do it.



Thanks in advance.

Regards
Krish


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 20, 2006 11:28 pm 
Expert
Expert

Joined: Thu Dec 23, 2004 9:08 pm
Posts: 2008
I assume that you mean JOTM. If that's the case, it's already integrated with Hibernate. In your .cfg.xml file, set the org.hibernate.transaction.TransactionManagerLookup property to org.hibernate.transaction.JOTMTransactionManagerLookup.

_________________
Code tags are your friend. Know them and use them.


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.