File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Error messages using ODBC" Watch "Error messages using ODBC" New topic
Author

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>(Uebung_2.java:60)
at Uebung_2.main(Uebung_2.java:104)
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
test2.

Herman
 
 
subject: Error messages using ODBC
 
Similar Threads
Action Listener
BoxLayout not working as advertised?
Array assignment -- need help
ScrollPane
File Reader