wood burning stoves 2.0*
The moose likes JDBC and the fly likes JDBC DriverType & JTA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC DriverType & JTA" Watch "JDBC DriverType & JTA" New topic
Author

JDBC DriverType & JTA

Nitin Katdare
Greenhorn

Joined: Oct 18, 2011
Posts: 6
Hello All,
I have two questions, please help
1) Can we check programatically which type of driver we are using (out of JDBC 4 types of drivers)?
2) Does JDBC internally uses JTA?

Thanks.
Wendy Gibbons
Bartender

Joined: Oct 21, 2008
Posts: 1107

well this was all I could find:



produced the output
major version :10
minor version :4
db name :Apache Derby
db product version:10.4.2.0 - (689064)
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18885
    
    8

Nitin Katdare wrote:1) Can we check programatically which type of driver we are using (out of JDBC 4 types of drivers)?


Why would you want to do that? Or to put it another way, why would you want your program to do something differently if you were using a Type 2 driver versus a Type 4 driver?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC DriverType & JTA