breako wrote:
Hi,
How is hibernate configured to talk to two different databases?
hi,
IMHO it is necessary to create one sessionfactory for each database
breako wrote:
Suppose in my architecture I have some information in one database and some in another? and I can also have rel's going from one database to another?
do you mean the hole relation ? in your application you handle with objects. so where is the problem to load the objects from a database and save/move it to another db.
breako wrote:
and I also need transactions to cover updates to both at the same time?
how does hibernate support this?
the magic word is two phase commitment.
regards
marlon