Exemple #1
0
 protected ResultSet getGeneratedKeys(Statement statement) throws SQLException {
   return statement.getGeneratedKeys();
 }
Exemple #2
0
 protected void executeUpdate(Statement statement, String SQL) throws SQLException {
   statement.executeUpdate(SQL, Statement.RETURN_GENERATED_KEYS);
 }
Exemple #3
0
 protected void close(Statement statement) throws SQLException {
   statement.close();
 }
Exemple #4
0
 protected void addBatch(Statement statement, String row) throws SQLException {
   statement.addBatch(row);
 }
Exemple #5
0
 protected int[] executeBatch(Statement statement) throws SQLException {
   return statement.executeBatch();
 }
Exemple #6
0
 protected SQLWarning getWarnings(Statement statement) throws SQLException {
   return statement.getWarnings();
 }