See the "Locking and Concurrency" of the JPA spec and Chapter 13 of the Hibernate manual: http://docs.jboss.org/hibernate/orm/4.3/manual/en-US/html_single/#transactions