users@glassfish.java.net

Re: How to enable SQL tracing in Glassfish V3. Which listener class to use?

From: <glassfish_at_javadesktop.org>
Date: Wed, 27 Jan 2010 01:48:28 PST

Thanks for your reply...
I found a way to do it including

<property name="hibernate.show_sql" value="true"/>

in persistence.xml but that meant having to redeploy to stop/start logging.

Ignacio
[Message sent by forum member 'icordoba' (icordoba_at_skios.es)]

http://forums.java.net/jive/thread.jspa?messageID=383213