BEA WebLogic Server™ 8.1 Unleashed
by Mark Artiges, Gupreet Singh Bhasin, Bernard Ciconte, Malcolm Garland, Saranathan Govindarajan, James Huang, Subramanian Kovilmadam, Kunal Mittal, Paul J. Perrone, Tom Schwenk, Steve Steffen
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. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access