openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: get generated query
Date Mon, 11 Jan 2010 16:36:01 GMT
Daryl -

Check out org.apache.openjpa.lib.jdbc.JDBCListener or
org.apache.openjpa.lib.jdbc.AbstractJDBCListener.

On Mon, Jan 11, 2010 at 10:30 AM, Daryl Stultz <daryl@6degrees.com> wrote:

> Hello,
>
> I'm writing a very simple tool to run queries from a text file. I'd like to
> show the generated SQL. I know I can turn on trace logging, but I want
> something like what jpaquerytool does (click on a button to show the query
> generated from the JPQL). How can I do this?
>
> Thanks.
>
> --
> Daryl Stultz
> _____________________________________
> 6 Degrees Software and Consulting, Inc.
> http://www.6degrees.com
> mailto:daryl@6degrees.com
>



-- 
Thanks,
Rick

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