由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - help one jdbc
相关主题
Help on JDBC:ODBC SOSopen cursor for collection?
ORACLE Pro*C 远程接续一问?SSRS report failing to display dataset string
Enmergency: Oracle Driver, Thanks a lotSQL 题目,包子有谢!
请教一个关于JDBC的问题,实在太烦了!MySQL: cannot connect
请问JDBC连SQL server的connect reset问题如何解决?How to know which database I am connected?
connection pool 面试题getting connected to Oracle in Perl
what's the error msg of .pc fileHelp, multiple EXTPROC_CONNECTION_DATA
Access 'memo' data type问个sqlserver 2008 concurrent connection的问题
相关话题的讨论汇总
话题: jdbc话题: connection话题: statement话题: exception话题: got
进入Database版参与讨论
1 (共1页)
a****s
发帖数: 47
1
My code is her:
con = DriverManager.getConnection(url,"root","");
System.out.println("Got Connection");
Statement stmt = con.createStatement();
When I run it,
it print out got connection,
but throws an exception:
Exception occurred during event dispatching:
java.lang.InstantiationError: org/gjt/mm/mysql/Statement
at org.gjt.mm.mysql.Connection.createStatement(Compiled Code);
So apparently, the Connection con may be an invalid object.
Could someone help me on this?
1 (共1页)
进入Database版参与讨论
相关主题
问个sqlserver 2008 concurrent connection的问题请问JDBC连SQL server的connect reset问题如何解决?
Re: Web Databaseconnection pool 面试题
ODBCwhat's the error msg of .pc file
Is that possible for Applet to access the Oracle?Access 'memo' data type
Help on JDBC:ODBC SOSopen cursor for collection?
ORACLE Pro*C 远程接续一问?SSRS report failing to display dataset string
Enmergency: Oracle Driver, Thanks a lotSQL 题目,包子有谢!
请教一个关于JDBC的问题,实在太烦了!MySQL: cannot connect
相关话题的讨论汇总
话题: jdbc话题: connection话题: statement话题: exception话题: got