Sunday, April 17, 2022

Spring Transaction Attributes

 Question:- What are transaction attributes?

Propagation

  1. PROPAGATION_REQUIRED
  2. PROPAGATION_SUPPORTS
  3. PROPAGATION_MANDATORY
  4. PROPAGATION_REQUIRES_NEW
  5. PROPAGATION_NOT_SUPPORTED
  6. PROPAGATION_NEVER
  7. PROPAGATION_NESTED

Isolation

  • Dirty Reads
  • Non Repeatable Reads
  • Phantom Reads

The below isolation levels are supported by spring.

  1. ISOLATION_DEFAULT
  2. ISOLATION_READ_UNCOMMITTED
  3. ISOLATION_READ_COMMITTED
  4. ISOLATION_REPEATABLE_READ
  5. ISOLATION_SERIALIZABLE

Read Only

Timeout

Rollback Rules

No comments:

Post a Comment