public static Transaction suspend ( ) { try { Transaction suspend = transactionManager . suspend ( ) ; return suspend ; } catch ( SystemException e ) { throw new RuntimeException ( "Unable to suspend current transaction" , e ) ; } }
Suspend the current transaction and return it to the caller .