D
deepak.n.l
I am not able to connect to DBF files:
I am getting this following error:
DBF Driver Driver not found!
java.sql.SQLException: No suitable driver
I am using
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
and the code that I am using to connect is:
String databaseURL = "jdbc
dbc
river={Microsoft Visual FoxPro
Driver};UID=;PWD=; SourceDB=" + filename +
";SourceType=DBF;Exclusive=No;BackgroundFetch=Yes;Collate=Machine;Null=Yes;Deleted=Yes";
return DriverManager.getConnection(databaseURL, "", "");
where filename = the folder where my DBF files are residing.
I am getting this following error:
DBF Driver Driver not found!
java.sql.SQLException: No suitable driver
I am using
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
and the code that I am using to connect is:
String databaseURL = "jdbc
![Blush :o :o](/styles/default/custom/smilies/blush.gif)
![Big Grin :D :D](/styles/default/custom/smilies/grin.gif)
Driver};UID=;PWD=; SourceDB=" + filename +
";SourceType=DBF;Exclusive=No;BackgroundFetch=Yes;Collate=Machine;Null=Yes;Deleted=Yes";
return DriverManager.getConnection(databaseURL, "", "");
where filename = the folder where my DBF files are residing.