Connection conn = dcm.getConnection();
Statement stmt=conn.createStatement();
CallableStatement callStmt=conn.prepareCall("{call ADDORDER(?)}");
callStmt.setString(1, "abc");
callStmt.execute();
//上一句出错了执行到最后一行的时候就出错了:
java.sql.SQLException: The routine name "null" does not contain a "::" to delimit the method name.
Statement stmt=conn.createStatement();
CallableStatement callStmt=conn.prepareCall("{call ADDORDER(?)}");
callStmt.setString(1, "abc");
callStmt.execute();
//上一句出错了执行到最后一行的时候就出错了:
java.sql.SQLException: The routine name "null" does not contain a "::" to delimit the method name.
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货