Results 1 to 4 of 4
Thread: jdbc odbc problem
- 09-11-2012, 03:06 PM #1
Member
- Join Date
- Sep 2012
- Posts
- 2
- Rep Power
- 0
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."
- 09-11-2012, 03:53 PM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Re: jdbc odbc problem
And where is that exception thrown from?
What code is causing it?Please do not ask for code as refusal often offends.
- 09-11-2012, 05:02 PM #3
Member
- Join Date
- Sep 2012
- Posts
- 2
- Rep Power
- 0
Re: jdbc odbc problem
I really don't know.. I am very new in java
- 09-11-2012, 06:08 PM #4
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Similar Threads
-
JDBC ODBC SQLException
By JohnPringle83 in forum JDBCReplies: 6Last Post: 05-30-2011, 08:07 AM -
jdbc-odbc cannot connect
By ArneBassez in forum JDBCReplies: 4Last Post: 12-08-2010, 05:26 AM -
Can any one tel...who has developped JDBC-ODBC driver...?
By Hello1976 in forum New To JavaReplies: 1Last Post: 07-23-2010, 09:23 AM -
Help me this error in JDBC-ODBC connection
By lordelf in forum Java ServletReplies: 3Last Post: 04-04-2009, 08:37 AM -
Using JDBC-ODBC bridge
By Java Tip in forum Java TipReplies: 0Last Post: 02-06-2008, 09:21 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks