Is there a method of evicting all instances of a given Class from the EntityManager cache without performing a lot of queries?
We have a number of entities that are generated from scheduled process that writes directly to the database. I would like to be able to flush the database of all instances of the Class that is updated so that they entity manager will recreate the instance in its cache the next time a query is created.
Thanks,
-- Chad
[Message sent by forum member 'chadws' (chadws)]
http://forums.java.net/jive/thread.jspa?messageID=276054