Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

anyone experienced upgrading from 1.22 to 2.0?

 
m winzenburg
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After finding most of my ResultSet objects were not working, I found we were operating with JDBC 1.22. I upgraded my local machine to 2.0, but then got the exception "You specified JDBC 1.22 behavior; cannot use JDBC 2.0 functions." I'm assuming this is because our database server is running JDBC 1.22. See post: http://www.coderanch.com/t/295411/JDBC/java/JDBC-DB
My team leader is petrified to try upgrading the server because he is afraid his old code won't work. Our DBAs don't know if the upgraded driver will work with our version of DB2 (7.1). I told my team leader I'd research this for him. Can anyone give me your experience or direct me to more information? I'm new to all this.
 
m winzenburg
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
FYI, here is the code that was generating the exception:
Statement stmt = con.createStatement(
ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_UPDATABLE);
Again the exception was:
"CLI0625E You specified JDBC 1.22 behavior; cannot use JDBC 2.0 functions."
[ July 17, 2002: Message edited by: m winzenburg ]
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!