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