Hibernate ORM TransactionEnvironment - 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 TransactionEnvironment class.

This code example shows how to use the following methods: getSessionFactory
		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; 
	} 
 
Full Snippet Info
4
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE
This code example shows how to use the following methods: getTransactionFactory
	private TransactionCoordinator transactionCoordinator; 
	private PersistenceContext temporaryPersistenceContext = new StatefulPersistenceContext( this ); 
 
	StatelessSessionImpl(Connection connection, String tenantIdentifier, SessionFactoryImpl factory) { 
		super( factory, tenantIdentifier ); 
		this.transactionCoordinator = new TransactionCoordinatorImpl( connection, this ); 
	} 
 
	// TransactionContext ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
 
	@Override 
	public TransactionCoordinator getTransactionCoordinator() { 
		return transactionCoordinator; 
	} 
 
	@Override 
	public TransactionEnvironment getTransactionEnvironment() { 
		return factory.getTransactionEnvironment(); 
	} 
 
Full Snippet Info
3
CodeRank
Stop searching for code, let great code find you!  Add Codota to your java IDE
See Code Examples for Hibernate ORM TransactionEnvironment Methods: