Hibernate ORM AbstractTransactionImpl - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Hibernate ORM AbstractTransactionImpl class.

This code example shows how to use the following methods:getTimeout, setTimeout
		return JtaStatusHelper.isActive( status ); 
	} 
 
	@Override 
	public void setTimeout(int seconds) { 
		super.setTimeout( seconds ); 
		applyTimeout(); 
	} 
 
	private void applyTimeout() { 
		try { 
			transactionManager.setTransactionTimeout( getTimeout() ); 
		} 
		catch ( SystemException se ) { 
			throw log.unableToSetTimeout( se, getTimeout() ); 
		} 
	} 
 
	@Override 
	public void join() { 
3
CodeRank
See Code Examples for Hibernate ORM AbstractTransactionImpl Methods: