这样试试:
String c1 ="{call ICtranscation(?,?)}");
callablestatement cstmt = conn.prepareCall(c1);
cstmt.setInt(spindexcount,new Integer(v2).intValue());//设参
boolean retbool = cstmt.execute();
if (retbool == true) {
System.out.print("exec run well");
}
成功了可别忘了给大姐加分啊^_^)
String c1 ="{call ICtranscation(?,?)}");
callablestatement cstmt = conn.prepareCall(c1);
cstmt.setInt(spindexcount,new Integer(v2).intValue());//设参
boolean retbool = cstmt.execute();
if (retbool == true) {
System.out.print("exec run well");
}
成功了可别忘了给大姐加分啊^_^)
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货