Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JPA noob - EntityManagers and threads

802205Apr 20 2011 — edited Apr 27 2011
I know the JPA specs say that EntityManagers are not directly thread-safe. But what about the objects each EM manages? Can multiple threads make changes to objects managed by a single EM, provided the changes are synchronized in the usual way?

Edit: After a few hours of reading, I realize this is a dumb question. I'll post a (hopefully) more sophisticated question in another thread.

Edited by: kjkrum on Apr 20, 2011 11:56 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 25 2011
Added on Apr 20 2011
4 comments
1,794 views