You still get an A+ for effort, Michael :). The code Andrus provided worked great, so thanks once again Andrus!
Here’s the result, for future reference: https://gist.github.com/hugith/95b2dddd94d9f04e219ada75810c0f62 Cheers, - hugi > On 16. ágú. 2016, at 16:41, Michael Gentry <[email protected]> wrote: > > Hmm, for some reason Andrus' email hadn't come in before I typed mine up. > His looks better than mine. :-) > > > On Tue, Aug 16, 2016 at 12:38 PM, Michael Gentry <[email protected]> > wrote: > >> Hi Hugi, >> >> I've not done anything with EJBQL yet, but have you looked at this class? >> >> https://github.com/apache/cayenne/blob/master/cayenne- >> server/src/main/java/org/apache/cayenne/access/translator/ejbql/ >> EJBQLTranslationContext.java >> >> Perhaps it will give you a starting point. >> >> mrg >> >> >> On Tue, Aug 16, 2016 at 11:36 AM, Hugi Thordarson <[email protected]> >> wrote: >> >>> Hi all, >>> since I want to try to do a little work on EJBQL in Cayenne; is there any >>> way for me to generate and look at the SQL that will be generated by an >>> EJBQLQuery without actually submitting it to the DB? >>> >>> Cheers, >>> - hugi >>> >>> // Hugi Thordarson >>> // http://www.loftfar.is/ >>> // s. 895-6688 >>> >>> >>> >>> >>
