public JdbcConnection execute(Operations operations) throws SQLException {
  Connection conn=connection();
  try (Statement statement=conn.createStatement()){
    operations.apply(statement);
    if (!conn.getAutoCommit())     conn.commit();
  }
   return this;
}

public JdbcConnection execute ( Operations operations ) throws SQLException { Connection conn = connection ( ) ; try ( Statement statement = conn . createStatement ( ) ) { operations . apply ( statement ) ; if ( ! conn . getAutoCommit ( ) ) conn . commit ( ) ; } return this ; }
execute a series of operations as a single transaction .
