public class OptionallyWrapInJTATransaction extends Object
Runnable
in a JTA Transaction if necessary:
SessionFactoryImplementor
.Modifier and Type | Field and Description |
---|---|
protected SearchFactoryImplementor |
searchFactoryImplementor |
Constructor and Description |
---|
OptionallyWrapInJTATransaction(BatchTransactionalContext batchContext,
SessionAwareRunnable sessionAwareRunnable) |
OptionallyWrapInJTATransaction(BatchTransactionalContext batchContext,
StatelessSessionAwareRunnable statelessSessionAwareRunnable) |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanUpOnError() |
void |
run() |
void |
runWithErrorHandler() |
protected final SearchFactoryImplementor searchFactoryImplementor
public OptionallyWrapInJTATransaction(BatchTransactionalContext batchContext, SessionAwareRunnable sessionAwareRunnable)
public OptionallyWrapInJTATransaction(BatchTransactionalContext batchContext, StatelessSessionAwareRunnable statelessSessionAwareRunnable)
Copyright © 2006–2016 Hibernate. All rights reserved.