• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC DriverType & JTA

 
Nitin Katdare
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 21111
32
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic