I assume you are using XXPeer.doPSSelect ?
Looking at the source code, I cannot see a way. Not even Criteria.CUSTOM
will help :-(

Do jdbc drivers understand binding of a collection to a prepared statement
? I never tried it.

     Thomas

Raul Acevedo <[EMAIL PROTECTED]> schrieb am 06.03.2008 03:53:59:

> When you use Criteria.addIn, Torque does not generate a prepared
> statement.  (Or at least it doesn't use bind variables for the "in"
> part, even if it does for other parts of the query.)
>
> Is there a way to get Torque to use bind variables for this?  Without
> having to convert the query into a bunch of "or"s?
>
> Raul
>
>
> ---------------------------------------------------------------------
> 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