@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface Transactional
RetryingTransactionHelper
. The underlying implementation relies on Spring AOP and thus the transactional advice is subject to the following limitations:
@Transactional
methods on Spring-supplied beans directly. Transactional
logic should be factored out to public methods of a separate bean.
RetryingTransactionHelper.doInTransaction(org.alfresco.repo.transaction.RetryingTransactionHelper.RetryingTransactionCallback,
boolean, boolean)
Modifier and Type | Optional Element and Description |
---|---|
boolean |
readOnly
Specifies if the operation should be run within a read-only transaction.
|
boolean |
requiresNew
Indicates if the operation requires a new transaction.
|