Hi all,
I installed the latest version of MAXDB software at my PC (Win2000) and I create a "dummy" instance called TEST.
Then with the sql studio I create a table named TEST_TABLE.
My goal was to make a java program in order to execute sql queries to the DB, but I didn't manage to succeed.
More precisely I download the JDBC driver sapdbc-7_5_0_5.jar and the odbc-jdbc bridge odbc75.exe.
After the installation of odbc75 (I create a System DSN mapped to TEST instance) I wrote the following java code:
String driverName="com.sap.dbtech.jdbc.DriverSapDB";
Connection databaseConnection = null;
String url = "jdbc:odbc:";
try
{
Class.forName(driverName);
} catch(java.lang.ClassNotFoundException e){
System.err.println("Exception in loading the "+driverName+" ::"+e);
stopInformationModel();
}
networkDatabaseFile="TEST";
if (this.databaseConnection==null)
try{
databaseConnection = DriverManager.getConnection(url+networkDatabaseFile,"dba","dba");
}catch(java.sql.SQLException ex){
System.err.println("Exception in Establishing the connection to the dataBase "+ex);
stopInformationModel();
}
and just here a I get the exception :: "No suitable driver"
Thanks in advance George
-- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]
