Esempio n. 1
0
 public static int getRowPrefetch(PreparedStatement stmt) throws SQLException {
   OracleStatement oracleStmt = stmt.unwrap(OracleStatement.class);
   return oracleStmt.getRowPrefetch();
 }
Esempio n. 2
0
 public static void setRowPrefetch(PreparedStatement stmt, int value) throws SQLException {
   OracleStatement oracleStmt = stmt.unwrap(OracleStatement.class);
   oracleStmt.setRowPrefetch(value);
 }
Esempio n. 3
0
 public static void clearDefines(DruidPooledPreparedStatement stmt) throws SQLException {
   OracleStatement oracleStmt = stmt.unwrap(OracleStatement.class);
   oracleStmt.clearDefines();
 }