Network Deployment (Distributed operating systems), v8.0 > Develop and deploying applications > Develop EJB applications > Assembling access intents to EJB 2.x entity beans


Configure read-read consistency checking with an assembly tool

Read-read consistency checking only applies to LifeTimeInCache beans whose data is read from another transaction. The product checks that the data is consistent with the data store, and ensures that it is not updated after checking for access intents that are repeatable read (RR).

For access intents that are read committed (RC), the product checks that the data is consistent at the point of checking; it does not guarantee that the data does not change after the checking. This makes the behavior of the LifeTimeInCache bean the same as beans that are non-LifeTimeInCache.

To perform this checking, configure CMP entity beans with read-read consistency checking. We can do this using an assembly tool.

To learn how to complete this task see the topic, Adding bean-level access intent for entity beans 2.x in the assembly tool information center.


Related


Example: Read-read consistency checking

+

Search Tips   |   Advanced Search