-----Original Message-----
From: Thomas Vandahl [mailto:[EMAIL PROTECTED]
Sent: 24 May 2006 16:50
To: Apache Torque Users List
Subject: Re: Prepared statements

Joseph Carter wrote:
> We're doing some performance testing on Torque and we've
noticed that
> it doesn't seem to use prepared statements.
> Is there some configuration option for this?
> Or some other way of setting Torque to use prepared statements?

Torque (or  Village for that matter) does use prepared
statements for all insert and update operations. You can use
doPSSelect in any generated Peer class to use prepared
statements for a select. However be aware that Village chokes
on joins then.

ok, thanks - I got an error on torque 3.1 when I tried this.
Complaint about CHAR/NUMERIC conversion.
I've just upped to 3.2 so I'll try that out.

Would you please keep this rubbish off the list.

Sorry about that garbage. Our work mail server adds it.
I've switched to my personal account to avoid it.
Apologies.

Thanks.

Bye, Thomas.


Thanks the quick response,

Joe

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to