cs = conn.prepareCall("{call SP_GIFT_LIST(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}");
cs.setString(1,authLevel);
cs.setString(2,"");
cs.setString(3,"");
cs.setString(4,"");
cs.setString(5,"");
cs.setString(6,"");
cs.setString(7,"");
cs.setString(8,"");
cs.setString(9,"");
cs.setString(10,"");
cs.setString(11,"mypage");
cs.setString(12,writer);
cs.registerOutParameter(13,Types.VARCHAR);
cs.registerOutParameter(14,Types.CHAR);
cs.registerOutParameter(15,Types.VARCHAR);
cs.registerOutParameter(16,Types.VARCHAR);
cs.registerOutParameter(17,Types.VARCHAR);
cs.registerOutParameter(18,Types.VARCHAR);
cs.registerOutParameter(19,Types.INTEGER);
cs.registerOutParameter(20,Types.VARCHAR);
cs.execute();
rs = (ResultSet)cs.getObject(20); ===================> 에러
db는 사이베이스 인데 어디가 잘못된건가요?
|