public void dispose ( ) { try { connection . close ( ) ; } catch ( final Exception e ) { LOGGER . log ( Level . ERROR , "Disposes transaction [" + getId ( ) + "] failed" , e ) ; } finally { isActive = false ; connection = null ; JdbcRepository . TX . set ( null ) ; } }
Disposes this transaction .