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 <[email protected]> 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:[email protected] > -- Thanks, Rick
