File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Disrtibuted Tx using JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Disrtibuted Tx using JDBC" Watch "Disrtibuted Tx using JDBC" New topic

Disrtibuted Tx using JDBC

Charu Sama

Joined: Aug 03, 2006
Posts: 12
Can we connect to multiple resources/db in a single transaction (using connection object) using plain JDBC. No JTA and no Container?
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

I thought you need JTA to have transactions at all. Unless you have a custom driver.
Xavier George
Ranch Hand

Joined: Jul 29, 2005
Posts: 39
Probably, you may need JDBC driven that can handle distributed transaction.
I agree. Here's the link:
subject: Disrtibuted Tx using JDBC
It's not a secret anymore!