George Pagomenos wrote:
String driverName="com.sap.dbtech.jdbc.DriverSapDB";
Connection databaseConnection = null;
String url = "jdbc:odbc:";

Use "jdbc:sapdb:" instead. See http://www.mysql.com/documentation/maxdb/fe/68e343cc68414da4426258d3e896ae/frameset.htm for a complete example.


The jdbc:odbc: prefix would be required if you were using the JDBC-ODBC bridge (http://java.sun.com/j2se/1.3/docs/guide/jdbc/getstart/bridge.doc.html).

You also don't have to install the MaxDB ODBC driver (odbc75.exe), sapdbc.jar is all that is required to connect using JDBC.

Daniel Dittmar

--
Daniel Dittmar
SAP Labs Berlin
[EMAIL PROTECTED]



--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to