Class RuleBasedTransactionAttribute

All Implemented Interfaces:
Serializable, TransactionAttribute, TransactionDefinition

public class RuleBasedTransactionAttribute extends DefaultTransactionAttribute implements Serializable
TransactionAttribute implementation that works out whether a given exception should cause transaction rollback by applying a number of rollback rules, both positive and negative. If no custom rollback rules apply, this attribute behaves like DefaultTransactionAttribute (rolling back on runtime exceptions).

TransactionAttributeEditor creates objects of this class.

Rod Johnson, Juergen Hoeller
See Also: