Code example for TransactionEnvironment

Methods: getSessionFactory

0
		return currentBatch; 
	} 
 
	@Override 
	public void abortBatch() { 
		if ( currentBatch != null ) { 
			currentBatch.release(); 
		} 
	} 
 
	private transient StatementPreparer statementPreparer; 
 
	@Override 
	public StatementPreparer getStatementPreparer() { 
		if ( statementPreparer == null ) { 
			statementPreparer = new StatementPreparerImpl( this ); 
		} 
		return statementPreparer; 
	}