JPA doesn't provide a way to filter out part of the relationships. If you load them, you load all the related items.
You might want to mark the collection fetch type as LAZY, then select claimLines and members or even run 2 queries. 2 simple queries might even run faster.
Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=253036