-
Sep 4th, 2004, 09:53 AM
#1
if use jtaTransactionManager for GlobalTransactions
how will i use jdbcTemplate? there is not XADataSource
in the jdbcTemplate.
-
Sep 4th, 2004, 10:46 AM
#2
It's your driver that must be and XA compliant or your AppServer supports global transactions for a non-XA driver. You should be able to use JDBCTemplate for either or.
-
Sep 5th, 2004, 10:24 PM
#3
who can for example
who can for example to use jdbcTemplate via jtaTransactionManager?
-
Sep 7th, 2004, 12:29 PM
#4
You should read 7. Transaction management, it provides some examples.
In practice, the use of JdbcTemplate is no different, you simply have to do it inside a TransactionTemplate or use declarative transaction management and setup your container to use an XA datasource.
I also recommend reading chapter 9 of J2EE Development without EJB.
Tim
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules