db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard Lin" <Howard....@vonage.com>
Subject RE: doSelect vs. doPSSelect
Date Tue, 11 Nov 2003 16:35:43 GMT
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


Mime
View raw message