Hi all,
There's a statement in the ejb-3_0-fr-spec-persistence.pdf which reads
The persistence context is not synchronized with the result of the bulk update or delete
So if I do a query.executeUpdate which deletes rows from a table. Those same rows still exist in another entities one to many collection. When I restart the application, I see the phantom entities are now removed from the collection.
So is there a (nice\simple\generic) way of synchronizing JPA's cache with the result of a bulk update\delete ?
BTW. Im using EclipseLink, version: Eclipse Persistence Services - 1.1.0.r3634.
Thanks,
Phil.