John, I've Googled briefly (and unsuccessfully) for this syntax; is it backed by a specification?
_Marvin -----Original Message----- From: John D. Ament (JIRA) [mailto:[email protected]] ------------------------------------------- [~am] I just ran a quick test. I was able to get it working using the following syntax. Can you let me know if this fits your need within eclipselink? {code} @Query(hints = {@QueryHint(name = "javax.persistence.cache.retrieveMode", value = "BYPASS"), @QueryHint(name = "eclipselink.refresh", value = "TRUE")} public abstract Simple findById(Long id); {code} > Repository.findBy methods do not allow an override to add query hints. > ----------------------------------------------------------------------
