oracle与jdbc的组合

oracle与jdbc的结合// if(callableStatement.execute()){String ename callableStatement.getString(en

oracle与jdbc的结合

// if(callableStatement.execute()){
String ename = callableStatement.getString("ename_p");
int sal = callableStatement.getInt("sal_p");

同理:通过位置设置参数,只能通过位置获得对应out参数的值