I'm using j2se 1.4.x
I'm trying to obtain (whatever jar file) I need to connect via jdbc. Can
someone tell me how to do this so that U can acces MS-ODBC? My code - and
thrown exceptions, are distilled below. Thanks, -Ike
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection(
"jdbc:odbc:exceltest" );
...
con.close();
} catch(Exception ex) {
System.err.print("Exception: "); ////PUTTING UP:
"Exception: [Microsoft][ODBC Driver Manager] Data source name not found and
no default driver specified"
System.err.println(ex.getMessage());
}
Lee Fesperman - 07 Jul 2004 00:06 GMT
> I'm using j2se 1.4.x
>
[quoted text clipped - 15 lines]
> System.err.println(ex.getMessage());
> }
Undoubtedly, the problem is what the message says: "Data source name not found". Have
you created a DSN (Data Source Name) of "exceltest" and pointed it to your RDBMS?

Signature
Lee Fesperman, FirstSQL, Inc. (http://www.firstsql.com)
==============================================================
* The Ultimate DBMS is here!
* FirstSQL/J Object/Relational DBMS (http://www.firstsql.com)