Define Transaction Isolation in EJB



Q) What are transaction isolation levels in EJB?

A)

1. Transaction_read_uncommitted- Allows a method to read uncommitted data from a DB(fast but not wise).
2. Transaction_read_committed- Guarantees that the data you are getting has been committed.
3. Transaction_repeatable_read – Guarantees that all reads of the database will be the same during the transaction (good for read and update operations).
4. Transaction_serializable- All the transactions for resource are performed serial.

Random Posts

  • Springs Interview Questions
  • Define ServletOutputStream object in Jsp
  • Define Ear,jar and war
  • Naming Conventions in Java
  • Define Session Migration

Post a Comment