Featured Post

Spring Transaction Management

Spring Declarative Txn Management current transaction propagation points as mentioned below

S.N.Propagation & Description
1TransactionDefinition.PROPAGATION_MANDATORY
Support a current transaction; throw an exception if no current transaction exists.
2TransactionDefinition.PROPAGATION_NESTED 
Execute within a nested transaction if a current transaction exists.
3TransactionDefinition.PROPAGATION_NEVER 
Do not support a current transaction; throw an exception if a current transaction exists.
4TransactionDefinition.PROPAGATION_NOT_SUPPORTED 
Do not support a current transaction; rather always execute non-transactionally.
5TransactionDefinition.PROPAGATION_REQUIRED  
Support a current transaction; create a new one if none exists.
6TransactionDefinition.PROPAGATION_REQUIRES_NEW  
Create a new transaction, suspending the current transaction if one exists.
7TransactionDefinition.PROPAGATION_SUPPORTS  
Support a current transaction; execute non-transactionally if none exists.
8TransactionDefinition.TIMEOUT_DEFAULT  
Use the default timeout of the underlying transaction system, or none if timeouts are not supported.

Comments

Popular posts from this blog

[Inside AdSense] Understanding your eCPM (effective cost per thousand impress...