Transaction Isolation Level

Transactions in a distributed environment may have varying degrees of isolation, and as previously mentioned, they can be set programmatically. The degree to which those concurrent transactions can interface with one another is set by the transaction isolation level. The java.sql.Connection interface identifies five levels of isolation defined by integer constants. Not coincidentally, the names of those constants are the same ones used to set the isolation level of EJBs demarcated by the container, except for TRANSACTION NONE, which is not used by EJBs.

The isolation levels are designed to address specific data inconsistency scenarios defined by the ANSI/ISO 92 standard. Let's explore those scenarios in more detail. ...

Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.