Package org.apache.camel.component.jpa
Interface TransactionStrategy
- All Known Implementing Classes:
DefaultTransactionStrategy
public interface TransactionStrategy
A transaction strategy that is used to run the JPA operations in a transaction.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeInTransaction
(Runnable runnable) Execute the work in transaction.
-
Method Details
-
executeInTransaction
Execute the work in transaction.- Parameters:
runnable
- the work to execute.
-