Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use jdbc 1.0

 
Suji N
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to know can i/how can i use JDBC 1.0 in JDK1.2. As JDBC 2.0 has bugs that make my application can't work correctly, but it works fine with JDBC 1.0. Since, my application is developed by using many features of JDK1.2, so is it possible that i can use JDBC 1.0 in JDK1.2? Thanks in advance
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Suji N:
I want to know can i/how can i use JDBC 1.0 in JDK1.2. As JDBC 2.0 has bugs that make my application can't work correctly, but it works fine with JDBC 1.0. Since, my application is developed by using many features of JDK1.2, so is it possible that i can use JDBC 1.0 in JDK1.2? Thanks in advance

For the record, it is not JDBC 2.0 that has bugs. JDBC 2.0 is only a specification that third party vendors are supposed to follow. So if your jdbc driver has bugs, then change driver vendors. If your jdbc driver has limitations(does not implement all jdbc 2.0 features), upgrade to one that meets your needs. If you are using a jdbc certified driver and are having a specific problem, post it here and we'll help you with it.
To the original question: JDBC 2.0 is jdbc 1.0 with additional features, so if you use the jdbc 1.0 specifications, it will work perfectly with jdbc 2.0
Jamie
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic