Best code examples for Hibernate ORM TransactionException class (org.hibernate.TransactionException)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM TransactionException class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Hibernate ORM TransactionException examples from Open Source projects
This code example shows how to use the following methods:
			final JtaPlatform jtaPlatform = transactionCoordinator 
			if ( jtaPlatform == null ) { 
				throw new TransactionException( "Unable to check transaction status" ); 
			if ( jtaPlatform.retrieveTransactionManager() != null ) { 
				return JtaStatusHelper.isActive( jtaPlatform.retrieveTransactionManager().getStatus() ); 
			else { 
				final UserTransaction ut = jtaPlatform.retrieveUserTransaction(); 
				return ut != null && JtaStatusHelper.isActive( ut ); 
		catch ( SystemException se ) { 
			throw new TransactionException( "Unable to check transaction status", se ); 
Full Snippet Info