• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

anyone experienced upgrading from 1.22 to 2.0?

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: https://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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic