Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Hibernate OGM, Domain model persistence for NoSQL datastores
  *
  * License: GNU Lesser General Public License (LGPL), version 2.1 or later
  * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
  */
 package org.hibernate.ogm.transaction.impl;
 
A org.hibernate.engine.transaction.spi.TransactionFactory which takes transactions created by another factory and decorates them with the ErrorHandlerEnabledTransactionDecorator.

Author(s):
Gunnar Morling
	private final ErrorHandler errorHandler;
	private final TransactionFactory<?> delegate;
	private final JtaPlatform jtaPlatform;
	public ErrorHandlerEnabledTransactionDecoratorFactory(ErrorHandler errorHandlerTransactionFactory<?> delegateJtaPlatform jtaPlatform) {
		this. = errorHandler;
		this. = delegate;
		this. = jtaPlatform;
	}
		TransactionImplementor transaction = .createTransactioncoordinator );
	}
	public boolean canBeDriver() {
	}
	public boolean compatibleWithJtaSynchronization() {
	}
	@SuppressWarnings({ "unchecked""rawtypes" })
	public boolean isJoinableJtaTransaction(TransactionCoordinator transactionCoordinatorErrorHandlerEnabledTransactionDecorator transaction) {
		return ( (TransactionFactory ).isJoinableJtaTransactiontransactionCoordinatortransaction.getDelegate() );
	}
	}
New to GrepCode? Check out our FAQ X