From: Daryl Stultz <kungfumachin...@gmail.com>
Date: Sun, 7 Mar 2010 11:49:45 -0800 (PST)
Local: Sun, Mar 7 2010 2:49 pm
Subject: Re: Eager vs Lazy produces different results
On Mar 7, 2:13 pm, Mario Ivankovits <mario.ivankov...@gmail.com> > Hmmm ... about the filterMany() api. Right, if you did this: > In the above statement it is not clear which relation is filtered. If > At least adding the relation name on filterMany() might be required: Ebean.find(Customer.class) that would be ambiguous (assuming order.name). Maybe adding the Ebean.find(Customer.class) So status and name are properties of order (not that name makes sense > ... or what about that: > Query<Customer> custQuery = Ebean.find(Customer.class); > Query<Order> custOrderQuery = custQuery.findMany("orders", > But this might be too much work, no? expecting to execute one query to get a list of customers with order collections filtered. Can you show how this would be executed to get the result? Plus, I'm lazy, too much work. :-) /Daryl You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||