Can anyone else confirm that the DEBUG information only includes SELECT statments (does not include INSERT and DELETE statments) - or is there some configuration that I am missing.
-- Gary Bartlett --- Heiko Braun <[EMAIL PROTECTED]> wrote: > > Set the system log & the sql log to "DEBUG". > this will dump real sql statements to your log files > which then can used to debug them externally. > > -- > heiko braun, fork unstable media > http://www.unstablemedia.com > > > On Fri, 19 Oct 2001, Scott Eade wrote: > > > Criteria criteria = new Criteria(); > > ... > > System.out.println(criteria); > > > > ----- Original Message ----- > > From: "Geoff Fortytwo" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, October 19, 2001 9:55 AM > > Subject: torque Criteria sql > > > > > > > For debugging purposes, is there any way I can > take a criteria object and > > > find out what sql it's going to generate when I > use it? If I set up a > > > criteria object incorrectly I can't figure out a > way to find out what my > > > query is and whether there's a problem with it. > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
