• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to print the version of JDBC in program  RSS feed

 
Ranch Hand
Posts: 257
Firefox Browser Hibernate Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Can any one help me to print the version number of the JDBC through the program.
 
Ranch Hand
Posts: 1084
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Srinivas Kalvala:

Can any one help me to print the version number of the JDBC through the program.




version number of what ???

Shailesh
 
Srinivas Kalvala
Ranch Hand
Posts: 257
Firefox Browser Hibernate Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Shailesh Chandra:



version number of what ???

Shailesh



Version of JDBC. whether it is 1.x or 2.x
 
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The DatabaseMetaData interface lets you access version information for both the driver and the database.

[ Later: ] Crossed posts. You can use reflection to look for classes and methods that are part of JDBC 3 (or 2), but not in JDBC 2 (or 1).
[ May 12, 2006: Message edited by: Ulf Dittmer ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!