Re: [java ee programming] How to handle concurreny access in JPA?

2011-04-13 Thread Marco Pivetta
You should take look at http://www.objectdb.com/java/jpa/persistence/lock Marco Pivetta @Ocramius http://marco-pivetta.com On 13 April 2011 10:33, Anthony Lam wrote: > Hi, > > How JPA (Java persistence) handles thread-safe concurrency access to the > same Entity

[java ee programming] How to handle concurreny access in JPA?

2011-04-13 Thread Anthony Lam
Hi, How JPA (Java persistence) handles thread-safe concurrency access to the same Entity CLass by different clients at the time when that Entity class is updating by another user? In Entity Jave Bean, concurrency is handled by the EJB container? I hope my question is clear. Thank you.