Hi Ale, Hope you don't mind the name. The answers to that question is B and D. Ok let look at it. The IN operator is used to return collections when used in the From clause. In the Order bean class, there must be a method that returns a collection of lineItems like
public abstract Collection getLineItems();
So, when you select everything which the Order class represent, you are including the lineItems. But if you now want to restrict the query to a particular lineItem, you can now do that in the where clause.
Hope it helps.
SCJA(Beta) SCJP 1.4 SCWCD 1.4 SCBCD 1.3 SCBCD 5.0 beta <br />The more practice we get, the better we are at the exams and in life in general. Pls join me at My DEN.