Table of contents
  1. Transactions
    1. Personal Use Case
    2. Resources
      1. Articles
      2. Grails Docs
      3. Spring
      4. Java Docs




Transactions

An instance of TransactionStatus is available by default in Grails transactional service methods.
the keys in the Map must correspond to properties

of org.springframework.transaction.support.DefaultTransactionDefinition

Account.withTransaction([propagationBehavior: TransactionDefinition.PROPAGATION_REQUIRES_NEW, isolationLevel: TransactionDefinition.ISOLATION_REPEATABLE_READ]) {
    //code
}

Personal Use Case

Resources

Articles

Grails Docs

Spring

Java Docs