java调用存储过程错误,怎么搞都是这个样子Callable statments not supported. sqlConn已经连上啦,可是下面老是错误请问是怎么回事:CallableStatement cStmt = sqlConn.prepareCall("{call pro_likekey()}");cStmt.execute(); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Class.forName("org.gjt.mm.mysql.Driver").newInstance(); Connection sqlConn = DriverManager.getConnection("jdbc:mysql://localhost/test?user=admin&password=123456&useUnicode=true&characterEncoding=GBK"); CallableStatement cStmt = null; cStmt = sqlConn.prepareCall("{call pro_likekey()}"); cStmt.execute();老出错,有哪位大哥,帮我看看跪谢谢!!!!!!!!!!!!!!!!!!!!!!!!!!!急!!!!!!!!!!!!!!!!!!!!!!!!! Class.forName("org.gjt.mm.mysql.Driver").newInstance(); Connection sqlConn = DriverManager.getConnection("jdbc:mysql://localhost/test?user=admin&password=123456&useUnicode=true&characterEncoding=GBK"); CallableStatement cStmt = null; cStmt = sqlConn.prepareCall("{call pro_likekey()}"); cStmt.execute();老出错,有哪位大哥帮我看看.急!!!!!!!!!!!!!!谢谢 我用的是mysql5.0.27支持存储过程.驱动用的是5.0mysql驱动.请问怎么才能支持啊..... 不是MYSQL,而是你的JAVA connector不支持。 报的什么错啊。不把错误贴出来怎么看啊。把&换成&试试 到这里http://dev.mysql.com/downloads/connector/j/5.0.html下载新的JDBC驱动吧,可能你那:org.gjt.mm.mysql.Driver不支持。 mysql++如何使用 为什么多循环一了一次? 求教数据库触发器 c#中编写mysql的event相关的代码 怎么停止触发器 求助:mysql中如何导入.sql文件? 帮我看看这样的查询条件哪里有勿?应该怎么改? 求解:#2013 - Lost connection to MySQL server during query错误 Mysql 跟MSsql 通信问题 奇怪!日期类型与任意字符串比较都能成功执行. Mysql中count和group by的问题 mysql里面的审计如何开启?能达到oracle的审计的功能吗?
Connection sqlConn = DriverManager.getConnection("jdbc:mysql://localhost/test?user=admin&password=123456&useUnicode=true&characterEncoding=GBK");
CallableStatement cStmt = null;
cStmt = sqlConn.prepareCall("{call pro_likekey()}");
cStmt.execute();
老出错,有哪位大哥,帮我看看
跪谢谢!!!!!!!!!!!!!!!!!!!!!!!!!!!急!!!!!!!!!!!!!!!!!!!!!!!!!
Connection sqlConn = DriverManager.getConnection("jdbc:mysql://localhost/test?user=admin&password=123456&useUnicode=true&characterEncoding=GBK");
CallableStatement cStmt = null;
cStmt = sqlConn.prepareCall("{call pro_likekey()}");
cStmt.execute();
老出错,有哪位大哥帮我看看.
急!!!!!!!!!!!!!!谢谢
请问怎么才能支持啊.....
把&换成&试试
可能你那:org.gjt.mm.mysql.Driver不支持。