[prev in list] [next in list] [prev in thread] [next in thread] 

List:       turbine-torque-user
Subject:    RE: torque and intersect
From:       "Dressler,Erik(externe MA)" <Erik.Dressler () Dresdner-Bank ! lu>
Date:       2005-05-18 12:33:51
Message-ID: 4A2E265BA43ED5408940E6C0815899EB03B50932 () DBLMXS3
[Download RAW message or body]


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic