From: Olivier L. <lef...@ya...> - 2009-06-08 13:15:42
|
OK, so I enabled that and it did not show me all I wanted at first. In case someone should hit this thread using the search function in the future, I think I'd finish the story. If a WHERE clauses involves a constant string, the HQL log will shows some kind of hash instead of the string because of how Expressions.string works. Then, too, apparently the SQL is a stored proc and it is shown with '?' in lieu of actual parameters, so again you don't see your string. In order to get the full scoop you need log4j.logger.net.sf.basedb.core.query.bind=debug -- O.L. |