• 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

JDBC_ODBC bridge

 
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does your code look like?
 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks all. I had the running time library
setting up wrong.
Thanks again!
reply
    Bookmark Topic Watch Topic
  • New Topic