JPA 2.0 Concurrency and locking