I'm trying to connect to MySQL 3.22 via JDBC and mm.mysql.jdbc-1.2b.
I can get a Connection object, however when I try to create a statement
useing this connection i get the following java.lang.InstantiationError:


[Loaded org.gjt.mm.mysql.Util] 
[Loaded org.gjt.mm.mysql.Statement] 
[Loaded java.lang.InstantiationError from /java/jdk1.2/jre/lib/rt.jar]
[Loaded java.lang.IncompatibleClassChangeError from /java/jdk1.2/jre/lib/rt.jar]
Exception in thread "main" java.lang.InstantiationError: org/gjt/mm/mysql/Statement
at org.gjt.mm.mysql.Connection.createStatement(Compiled Code)
at exps.jdbc.Test1.useConnection(Compiled Code)
at exps.jdbc.Test1.main(Compiled Code) 


Have any of you dealt with this?


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to