예제 #1
0
파일: OracleUtils.java 프로젝트: nyer/druid
 public static int getRowPrefetch(PreparedStatement stmt) throws SQLException {
   OracleStatement oracleStmt = stmt.unwrap(OracleStatement.class);
   return oracleStmt.getRowPrefetch();
 }
예제 #2
0
파일: OracleUtils.java 프로젝트: nyer/druid
 public static void setRowPrefetch(PreparedStatement stmt, int value) throws SQLException {
   OracleStatement oracleStmt = stmt.unwrap(OracleStatement.class);
   oracleStmt.setRowPrefetch(value);
 }
예제 #3
0
파일: OracleUtils.java 프로젝트: nyer/druid
 public static void clearDefines(DruidPooledPreparedStatement stmt) throws SQLException {
   OracleStatement oracleStmt = stmt.unwrap(OracleStatement.class);
   oracleStmt.clearDefines();
 }