private void executeImmediate ( String stmtText ) throws SQLException { // execute the statement and auto-close it as well try ( final Statement statement = this . createStatement ( ) ) { statement . execute ( stmtText ) ; } }
Execute a statement where the result isn t needed and the statement is closed before this method returns