db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dressler,Erik(externe MA)" <Erik.Dress...@Dresdner-Bank.lu>
Subject RE: torque and intersect
Date Wed, 18 May 2005 12:33:51 GMT

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:fischer@seitenbau.net]
> 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)" <Erik.Dressler@Dresdner-Bank.lu> 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: 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
 
*  *  *  *  *  *  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: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message