If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > How do I find out What JDBC driver I had.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-26-08, 12:00
smith43017 smith43017 is offline
Registered User
 
Join Date: Sep 2006
Posts: 92
How do I find out What JDBC driver I had.

and How to Installed different JDBC driver???
Reply With Quote
  #2 (permalink)  
Old 02-26-08, 15:53
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
1) java.sql.DriverManager.getDriver(url).getMajorVers ion()
java.sql.DriverManager.getDriver(url).getMinorVers ion()

2) Class.forName("com.ibm.db2.jcc.DB2Driver").newInst ance();

Andy
Reply With Quote
  #3 (permalink)  
Old 02-27-08, 10:02
smith43017 smith43017 is offline
Registered User
 
Join Date: Sep 2006
Posts: 92
Sorry I didn't inform you much. How do I find this infor in db2 database server


DB21085I Instance "DEV" uses "64" bits and DB2 code release "SQL09013"
with level identifier "01040107".
Informational tokens are "DB2 v9.1.0.3", "s070914", "U813650", and Fix Pack
"3a".
Product is installed at "/opt/IBM/db2/V9.1_03".
Reply With Quote
  #4 (permalink)  
Old 02-27-08, 10:11
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
SELECT * FROM SYSIBMADM.ENV_INST_INFO

Andy
Reply With Quote
  #5 (permalink)  
Old 02-27-08, 10:35
smith43017 smith43017 is offline
Registered User
 
Join Date: Sep 2006
Posts: 92
My bad . Thanks for replying ARWinner

I can't even type message properly.

My environment is

DB21085I Instance "DEV" uses "64" bits and DB2 code release "SQL09013"
with level identifier "01040107".
Informational tokens are "DB2 v9.1.0.3", "s070914", "U813650", and Fix Pack
"3a".
Product is installed at "/opt/IBM/db2/V9.1_03".


I need to find what type of JDBC drivers I had on my database serve from command line.
Reply With Quote
  #6 (permalink)  
Old 02-27-08, 10:47
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
There is no command or program that I know of to get you this info. The only way is to load the driver and query it like I posted in my first post.

Andy
Reply With Quote
  #7 (permalink)  
Old 02-27-08, 11:38
smith43017 smith43017 is offline
Registered User
 
Join Date: Sep 2006
Posts: 92
thanks for info bud
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On