-->
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.  [ 4 posts ] 
Author Message
 Post subject: support for multiple database?
PostPosted: Mon May 29, 2006 4:09 am 
Newbie

Joined: Thu Dec 22, 2005 11:15 pm
Posts: 13
Hi,

Does hibernate support for multiple database access and provide a global transaction service? And how?

Any suggestion is appreciated.

Thanks in advance.

Regards,
Gefei


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 29, 2006 4:17 am 
Expert
Expert

Joined: Thu May 26, 2005 9:19 am
Posts: 262
Location: Oak Creek, WI
Hi,

We have discussed this topic in several threads. Please find an answer for your question in the below thread.

http://forum.hibernate.org/viewtopic.ph ... highlight=

_________________
RamnathN
Senior Software Engineer
http://www.linkedin.com/in/ramnathn
Don't forget to rate.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 29, 2006 8:27 am 
Newbie

Joined: Thu Dec 22, 2005 11:15 pm
Posts: 13
Thanks ramnath for the quick response. It helps in somehow. Those discussion does not tell how to realize a global transaction, ie, to encapsulate the accesses to two different DB in one transaction.

Could anyone give me some advice?

Thanks in advance.

Regards,
Gefei


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 29, 2006 8:27 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Hibernate delegates to the configured Transaction manager. So if you have multiple databases, thus multiple session factories configured to XA aware JTA resources then XA transaction manager can operate over the configure databases/sessions.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.