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