日期:2014-05-16 浏览次数:20433 次
public static void main(String[] args) {
???? // TODO Auto-generated method stub
?????......
???? CallableStatement cs=null;
????????????? cs = cnn.prepareCall("{call show(?,?)}");
??????????? cs.registerOutParameter(2,Types.VARCHAR);
???? ?????? cs.setString(1,"101");
???? ?????? cs.execute();
???? ?????? System.out.print("return="+cs.getString(2));
?????? }