• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

How to know the version of JDBC

 
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have jdk1.3 installed on my machine and in the api's docs when i goto java.sqlpackage
PreparedStatement has some methods like setClob(),setBlob()
and in bracket it is written as(JDBC 2.0)
does it mean that my jdk1.3 donot contain JDBC 2.0
if yes then how can i get JDBC2.0
in other words how can i know the version of JDBC Im using??
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It depends on the JDBC driver you have installed. The JDBC API does not contain the actual code... that is supplied by the vendor.
 
Gaurav Chikara
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I m using JDBC-ODBC Bridge Driver
now any comments???

Originally posted by Thomas Paul:
It depends on the JDBC driver you have installed. The JDBC API does not contain the actual code... that is supplied by the vendor.


 
Thomas Paul
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://java.sun.com/j2se/1.3/docs/guide/jdbc/getstart/bridge.doc.html
And here's why you shouldn't use the ODBC bridge:
<A HREF="http://java.sun.com/products/jdk/faq/faq-sun-packages.html</A >" TARGET=_blank>http://java.sun.com/products/jdk/faq/faq-sun-packages.html[/URL] http://java.sun.com/products/jdk/1.2/docs/guide/jdbc/bridge.html

Status of the JDBC-ODBC Bridge
The JDBC-ODBC Bridge should be considered a transitional solution. Javasoft and Intersolv are working to make the Bridge more reliable and robust, but they do not consider it a supported product. In the near future, development of pure-Java JDBC Drivers will make the JDBC-ODBC Bridge unnecessary.
From the 1.3 doc:
The JDBC-ODBC Bridge driver is recommended only for experimental use or when no other alternative is available.
Look here for other alternatives: http://industry.java.sun.com/products/jdbc/drivers
------------------
Moderator of the JDBC Forum
[This message has been edited by Thomas Paul (edited March 13, 2001).]
 
I'm a lumberjack and I'm okay, I sleep all night and work all day. Lumberjack ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic