I am developing a service. How can I enable query tracing so that
Query.list() appends the SQL or HQL form of the query to one of the
Tomcat log files? My 'or' queries (Restrictions.or) seem to work
ok but not my 'and' queries and I'd like to see what's going on.
---
Olivier Lefevre wrote:
> I am developing a service. How can I enable query tracing so that
> Query.list() appends the SQL or HQL form of the query to one of the
> Tomcat log files? My 'or' queries (Restrictions.or) seem to work
> ok but not my 'and' queries and I'd like to see what's going on.
T