@ Override public synchronized int executeUpdate ( final String query ) throws DatabaseEngineException { Statement s = null ; try { getConnection ( ) ; s = conn . createStatement ( ) ; return s . executeUpdate ( query ) ; } catch ( final Exception ex ) { throw new DatabaseEngineException ( "Error handling native query" , ex ) ; } finally { if ( s != null ) { try { s . close ( ) ; } catch ( final Exception e ) { logger . trace ( "Error closing statement." , e ) ; } } } }
Executes a native query .