cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gentry <mgen...@masslight.net>
Subject Re: Show the SQL that will be generated by an EJBQLQuery?
Date Tue, 16 Aug 2016 16:38:19 GMT
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 <hugi@karlmenn.is> 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
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message