Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error messages using ODBC

 
Wolfgang Obi
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have person ODBC:JDBC bridge defined in your workspace?
 
Herman Schelti
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Wolfgang.

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

Herman
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic