-
jdbc odbc problem
Hi, I hope someone can help me urgently. I am encountering a problem with my jdbc odbc driver code.
String dbase = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:/Users/RaquelC/Documents/patientInfo.mdb;DriverID=22;READONLY=true}";
I am using 2003 MS Access as my database and whenever I'm debugging the prog this is what it says.
"Errorjava.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1."
-
Re: jdbc odbc problem
And where is that exception thrown from?
What code is causing it?
-
Re: jdbc odbc problem
I really don't know.. I am very new in java
-
Re: jdbc odbc problem
Somewhere in your code you are catching an exception and only logging the name of the exception and not doing printStackTrace().
Since we cannot see your code here there's not much else to say.