db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramesh Sabeti" ...@reazon.com>
Subject RE: doSelect vs. doPSSelect
Date Tue, 11 Nov 2003 16:51:45 GMT
Nice...  I ended up doing a search/replace (which is not a good way of
doing it).  You solution is much cleaner... Thanks

> -----Original Message-----
> From: Howard Lin [mailto:Howard.Lin@vonage.com]
> Sent: Tuesday, November 11, 2003 8:36 AM
> To: Apache Torque Users List
> Subject: RE: doSelect vs. doPSSelect
> 
> What I did is:
> 
>   <replace dir="src" token="BasePeer.doSelect"
> value="BasePeer.doPSSelect">
>   	<include name="**/Base*Peer.java" />
>   </replace>
> 
> This seems working.
> 
> Howard Lin
> 
> > -----Original Message-----
> > From: Ramesh Sabeti [mailto:rs@reazon.com]
> > Sent: Sunday, November 09, 2003 10:02 PM
> > To: 'Apache Torque Users List'
> > Subject: doSelect vs. doPSSelect
> >
> >
> > I've been having a problem with Oracle 9i: shared pool gets
> > filled with
> > cached queries.  So I tried to replace doSelect statements with
> > doPSSelect, but that didn't work due to incompatibility of
> > return types.
> > doSelect returns a list of torque.BaseObject elements and doPSSelect
> > returns a list of type com.workingdogs.village.Record elements.
> >
> > Can anyone recommend a solution to allow passing parameterized
queries
> > to Oracle using Torque?  I'm using Oracle9i with Torque 3.0, and JDK
> > 1.4.
> >
> > Thanks in advance.
> >
> > Ramesh
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> > For additional commands, e-mail: torque-user-help@db.apache.org
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org



---------------------------------------------------------------------
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