The Java EE 7 Tutorial
42 Controlling Concurrent Access to Entity Data with Locking
This chapter details how to handle concurrent access to entity data, and the locking strategies available to Java Persistence API application developers.
The following topics are addressed here: