-
Notifications
You must be signed in to change notification settings - Fork 22
Transactions
Zsolt Herpai edited this page Feb 5, 2015
·
13 revisions
All queries will be executed in transactions as long as Connections provided by the ConnectionProvided are transaction-managed. This is possible in a number of ways:
- Using a transaction-aware DataSource (eg JEE DataSources, Spring's TransactionAwareDataSourceProxy)
- Extracting the underlying connection from a JPA session
- Getting transaction-managed connection from a Connection callback.
- There is an extension library for Guice Persist: fluentjdbc-guice-persist, which supports standalone transaction management (without JPA or other tech)