First, this is a development list; not a user list.  Post user questions to the user forum!

 

Yes, hibernate supports multiple datasources within a single transaction to the extent that the datasources themselves support this.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pae Choi
Sent: Tuesday, October 12, 2004 10:01 AM
To: [EMAIL PROTECTED]
Subject: [Hibernate] A single Transaction with multiple datasources that is corresponding to different database

 

Almost at the end of the section, "1.1. Getting started with Hibernate", it states:

 

    A SessionFactory is Hibernate's concept of a single datastore, multiple databases

    can be used by creating mul-tiple XML configuration files and creating multiple

    Configuration and SessionFactory objects in your application.

 

which comes to me that they will have seperate transaction for each data source

if I understand correctly. Then, I have a question regarding on the multiple database:

 

[Q] Does hibernate support the multiple datasources within a single transaction.

 

 

Regards,

 

 

Pae

 

Reply via email to