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