首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

oracle与jdbc的组合

2012-08-24 
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参数的值
 

热点排行