Hello
We are starting with Hibernate, and I would like to know if it is possible to use 2 phase commit ? I read some posts on it, but it seams that a session is connected to 1 DB and as the transaction object is derived from the session, I assume there is no way to use 2 phase commit.
Some posts use 2 transactions, but of cours, that's no 2 phase commit.
We ar working on 2 oracle DB's (10G) with OC4J container from the Oracle application server.
Using JTA, without hibernate , i can commit to 2 tables on different DB's in 1 transaction. So.... can the last version of hibernate do this to ? ( as it is build on top of JTA, i think)
grtz,
Chris.
|