GeeCON Prague 2014*
The moose likes Object Relational Mapping and the fly likes Bulk Update Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Bulk Update" Watch "Bulk Update" New topic
Author

Bulk Update

Srdjan Atanaskovic
Greenhorn

Joined: Mar 29, 2007
Posts: 3
Hi,

I use oracle Top Link persistence provider. When I do bulk update, and after that I want to use datarows with EntityManager.createQuery("Select...") statement, I obtain old data(as before update), different from DataBase.

Is there any way to maintain the same state between EntityManager and database
after doing bulk operatins (Update or Delete).

Thanks in advance,
Srdjan
 
GeeCON Prague 2014
 
subject: Bulk Update