• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC_ODBC bridge

 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello:
Could you please suggest the good JDBC-ODBC bridge
that is not expensive for production use?
Thanks in advance,
Sarah
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sarah
What's wrong with the one that comes with the SDK? It is automatically installed for you and is in your class path along with the rest of the standard APIs.
Just use:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
To instantiate it and have it register itself with the driver manager.
 
Jag Sharma
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to do the same the Sarah wants to do. I am getting the following error:
java.sql.SQLException: [Microsoft][ODBC Driver Ma
nager] Data source name not found and no default driver specified
Thanks
Jag
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does your code look like?
 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Dave,

What's wrong with the one that comes with the SDK? It is automatically installed for you and is in your class path along with the rest of the standard APIs.

How to do the config on Solaris? I made it works
on NT but Solaris, I got "No suitable driver"?
Please help!
Sarah
 
Dave Vick
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sarah
Do you have the ful SDK loaded not just a JVM? Make sure your class path and everything is correct including case on Solaris.
 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks all. I had the running time library
setting up wrong.
Thanks again!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic