Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

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 and external updates

843830Jun 21 2009 — edited Jun 22 2009
Hi,

I want to create a simple application that uses JPA. The application will do only queries (not insert or update) and show the results with a simple custom web app. So good, so far. I can implement this :)

One thing that I also need is to update some values over time.
So, the question is, if I use another DB application/client (outside from EE Container) and update the records (that JPA application reads), do this will cause conflicts, race conditions or present not valid data??

The DB application client could be any DB client like TOAD.

My query is, if this behaviour is valid (with JPA) and if not what other options exist?
JDO or other persistence API has the same behaviour?

Thanks,
qiozas
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 20 2009
Added on Jun 21 2009
2 comments
340 views