db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lach, Thierry" <Thierry.L...@bbdodetroit.com>
Subject RE: Only 2 columns exist!
Date Wed, 08 Jan 2003 14:07:30 GMT
Agreed.  doSelect() should not modify the criteria being passed it.  

-----Original Message-----
From: Henning P. Schmiedehausen [mailto:hps@intermeta.de] 
Sent: Tuesday, January 07, 2003 7:42 PM
To: turbine-torque-user@jakarta.apache.org
Subject: Re: Only 2 columns exist!


"Travis Stevens" <Travis.Stevens@noaa.gov> writes:

>FYI,

>to answer my own question,

>wrong:
>Criteria crit = new Criteria();
>List aList = APeer.doSelect(crit);
>List bList = BPeer.doSelect(crit);


>right:
>Criteria crit = new Criteria();
>List aList = APeer.doSelect(crit);
>crit = new Criteria();
>List bList = BPeer.doSelect(crit);

Ugh. Thats' IMHO a bug.

	Regards
		Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   info@intermeta.de
D-91054 Buckenhof     Fax.: 09131 / 50654-20   

--
To unsubscribe, e-mail:
<mailto:turbine-torque-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:turbine-torque-user-help@jakarta.apache.org>


Mime
View raw message