aspose file tools*
The moose likes JDBC 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
Bookmark "Disrtibuted Tx using JDBC" Watch "Disrtibuted Tx using JDBC" New topic
Author

Disrtibuted Tx using JDBC

Charu Sama
Greenhorn

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Disrtibuted Tx using JDBC