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]

Reply via email to