File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and the fly likes Error messages using ODBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Error messages using ODBC" Watch "Error messages using ODBC" New topic

Error messages using ODBC

Wolfgang Obi
Ranch Hand

Joined: Dec 05, 2005
Posts: 134
Hi , I'm having a problem with this code.
I'm trying to connect to a locally stored access databank. I am running the Java application from within Eclipse....

can someone help me here?

thank you!

error message:

at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcConnection.initialize(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at Uebung_2.<init>(
at Uebung_2.main(
sathish kumar
Ranch Hand

Joined: Feb 14, 2007
Posts: 47
Do you have person ODBC:JDBC bridge defined in your workspace?
Herman Schelti
Ranch Hand

Joined: Jul 17, 2006
Posts: 387
hi Wolfgang.

I don't understand why your stacktrace says Uebung_2, but your class is called

I agree. Here's the link:
subject: Error messages using ODBC