JDBC Connection sharing in a JTA Transaction
Posted on 2004-08-10
I m using weblogic 8.1 and oracle XA driver.
If i create 2 different connections using the same DataSource in the same JTA transaction, will weblogic return 2 physical different connections or the same connection object.
the use case is that i use entity beans and DAO in the same transaction. entity beans to update data and DAO to read some data.
My concern is that, can DAO access data that is inserted by entity beans in the same transaction.
Weblogic docs say that in case of non-XA driver, the same connection object is used in a single transaction.