db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Carter" <joe.car...@gmail.com>
Subject RE: Prepared statements
Date Wed, 24 May 2006 16:09:57 GMT
> -----Original Message-----
> From: Thomas Vandahl [mailto:tv@apache.org]
> 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: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message