You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Raul Acevedo <ra...@cantara.com> on 2008/03/07 23:34:57 UTC

Can LargeSelect use prepared statements?

It looks like Torque's LargeSelect does not use prepared statements in
its queries.  Is there a way to make it do that?

Raul


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


RE: Can LargeSelect use prepared statements?

Posted by Thomas Fischer <fi...@seitenbau.net>.
> It looks like Torque's LargeSelect does not use prepared statements in
> its queries.  Is there a way to make it do that?

You would have to modify the Torque code.

The problem with using prepared statements is that the Code for creating
prepared statements and the code which produces "normal" selects is
different, and can produce different outcome for more complicated queries.
So with the current code base, having a "switch" is a bad idea because
queries could behave differently.

    Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org