Méthode | Description | |
---|---|---|
DoInTransaction ( ITransactionStatus status ) : object |
Gets called by TransactionTemplate.Execute within a transaction context.
|
|
DoInTransactionWithoutResult ( ITransactionStatus status ) : void |
Gets called by TransactionTemplate.execute within a transactional context when no return value is required. Does not need to care about transactions itself, although it can retrieve and influence the status of the current transaction via the given status object, e.g. setting rollback-only. A RuntimeException thrown by the callback is treated as application exception that enforces a rollback. An exception gets propagated to the caller of the template. |
public DoInTransaction ( ITransactionStatus status ) : object | ||
status | ITransactionStatus | The associated transaction status. |
Résultat | object |
public abstract DoInTransactionWithoutResult ( ITransactionStatus status ) : void | ||
status | ITransactionStatus | The status. |
Résultat | void |