• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC ODBC

 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Okay, I'm a little confused as to why you want an ODBC driver for DB2, when DB2 ships with two very sexy drivers, the .net driver and the .app driver. Both of these drivers are in the db2java.zip file, and if you have db2java.zip on your Java classpath, you can connect very easily to db2.

Using the JDBC-ODBC bridge with DB2 combines all of the worst features of db2 with the worst features of odbc. Not a way that I would go.

Is your main concern with just connecting to db2 from a Java application? If it is, throw away everything you know about odbc, and do it with JDBC.

Expand on what you are trying to accomplish,and maybe I can help you out more.

Cheers!

-Cameron McKenzie
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24211
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This sounds like a reply to something; maybe another thread here in "Other Java Products" which was moved to JDBC several days ago and so is now closed. In any case, I'm going to move this to JDBC and hope somebody over there knows what it's referring to.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic