Just wondering, have you tried Toplink JPA query hints. There is a hint for toplink.refresh, which controls toplinks cache.
You can use that as in the query,
@QueryHint(name=REFRESH, value=HintValues.TRUE)
Hope this helps. :)
With Regards,
Mayank
[Message sent by forum member 'mayankmishra' (mayankmishra)]
http://forums.java.net/jive/thread.jspa?messageID=208341