This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URGENT !! JDBC driver help. Reply asap

 
Raukutam Sandeep
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

can JDBC be used to connect from JAVA to a database through ODBC drivers.
Or do we need any special set of driver files for JAVA to interact with a database?
If so, where can I find JDBC drivers.
I have Oracle, MSAccess databases.
Pls reply me asap.
 
Pranav Jaidka
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sandeep
you may use the JDBC ODBC bridge to overcome the problem.Just use the sun.jdbc.odbc.JdbcOdbcDriver line in your class.forName method to register the driver and start using the database after getting a connection from the DriverManager.getConnection method .
Also try searching on the sun site .they gove a a list of all drivers that you may find helpful
regards
pranav
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic