Yep, here is an example: https://cayenne.apache.org/docs/4.0/cayenne-guide/#mappedselect-and-mappedexec <https://cayenne.apache.org/docs/4.0/cayenne-guide/#mappedselect-and-mappedexec>
BTW, Cayenne 4.1 is on the verge of the GA release. So if you are upgrading, you might as well jump straight to 4.1. There are no downsides that I can think of. Andrus > On May 7, 2020, at 7:53 PM, John Huss <[email protected]> wrote: > > Not at a computer at the moment - try MappedSelect. > > On Thu, May 7, 2020 at 11:51 AM Sébastien Pérès-Labourdette < > [email protected]> wrote: > >> Hi. >> >> In 4.0.2, what happened to getEntityResolver().lookupQuery(queryName) ? >> >> How to fetch my queries from my datamap xml in 4.0.2 ? >> >> Cheers >> Sébastien. >> >>
