[basedb-devel] Query tracing

2009-06-07 Thread Olivier Lefevre
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. ---

Re: [basedb-devel] Query tracing

2009-06-07 Thread Nicklas Nordborg
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