Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Finding out the version of my Oracle driver

 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there some static method that I can call within the oracle driver zip file that will tell me the version of the driver ?
I am using the file oracle12.zip right now.
Thanks
Gavin
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Pho Tek:
Is there some static method that I can call within the oracle driver zip file that will tell me the version of the driver ?
I am using the file oracle12.zip right now.
Thanks
Gavin
You can find this out through the DatabaseMetaData class using the getDriverName(), getDriverVersion(), getMajorDriverVersion(), etc..
Jamie
 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jamie.

Pho
 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Following Jamie's advice, this is the version data that I got from my driver:
JDBC version# = 8.1.7.0.0
Database version# =
Oracle7 Server Release 7.3.3.4.0 - Production Release With the distributed, replication and parallel query options
I then looked up the Oracle JDBC faq and it says:
JDBC 8.1.7 drivers can talk to RDBMS 9.0.1, 8.1.7, 8.1.6, 8.1.5, 8.0.6, 8.0.5, 8.0.4 and 7.3.4.

My question is this: Is 7.3.3.4 equivalent to 7.3.4 ? There is actually no mention of 7.3.3.4 in the FAQ.
TIA
Pho
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic