hi, thomas! your solution is nearly my solution! :)
the difference is, that the data of the first select is stored in vector, too, due to the application. thanks, anyway! erik > -----Original Message----- > From: Thomas Fischer [SMTP:[EMAIL PROTECTED] > Sent: 18 May 2005 09:18 > To: Apache Torque Users List > Subject: RE: torque and intersect > > > > > > Hi, > > Torque is just a tool for talking to the database, not for further > processing the results. You can ask the database for the intersection > using > criteria.addIn(). However, if you already have the two resultsets in > memory, it might be more performant to compute the differences by hand > using List.contains() and overriding the equals() method of the objects. > > Thomas > > "Dressler, Erik(externe MA)" <[EMAIL PROTECTED]> schrieb am > 17.05.2005 17:11:25: > > > > > hello! > > > > i have two resullists from two different selects. is it possible to get > the > > intersection of these selects via torque? if the answer is yes, please > give > > me a hint! > > > > greets, erik > > > > * * * * * * D I S C L A I M E R * * * * * * * > > > > This message is confidential and intended for the named addressee(s) > only. > > If you are not the intended recipient, please contact the sender by > E-Mail > > return and then delete this message from your system. You should not > copy > > or use it or disclose its contents to any other person. > > > > If any part of this message is illegible or if you suspect that the > message > > may have been intercepted or amended, please contact the sender. > > Dresdner Bank Luxembourg S.A. cannot accept any responsibility for the > > accuracy or completeness of this message without further investigation. > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] * * * * * * D I S C L A I M E R * * * * * * * This message is confidential and intended for the named addressee(s) only. If you are not the intended recipient, please contact the sender by E-Mail return and then delete this message from your system. You should not copy or use it or disclose its contents to any other person. If any part of this message is illegible or if you suspect that the message may have been intercepted or amended, please contact the sender. Dresdner Bank Luxembourg S.A. cannot accept any responsibility for the accuracy or completeness of this message without further investigation. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]