From: Rob Bygrave <robin.bygr...@gmail.com>
Date: Fri, 5 Mar 2010 09:37:04 +1300
Local: Thurs, Mar 4 2010 3:37 pm
Subject: Re: [ebean] Re: Eager vs Lazy produces different results
> this is a "partial object graph", yes? I would not call it that no. For me the question is ... for a *ToMany path do you ever want to supply a So, lets say each customer had tens of thousands of Orders ... maybe we You then always have to navigate your model the other way - from order to > In this case I would select orders rather than customers. You would indeed build a similar object graph but it not exactly the same. Your root objects are Orders and not Customers - and if you want to process Customers primarily (with their new orders) you have some work to do to find the list of unique customers first and then ... Note that you never do this in the relational model - the relationship still > I can work up a JPA example... That would be good. The generated SQL will clarify things. > I assume I can add/remove from the filtered list and save it without blowing away all the records I didn't load? Yes you can. You assumption is correct. > JoinConfig().query() ... Hmmm, I'll have a look at that (I'd suggest that is a bug). ... but first I want to clarify that we do want the ability to apply a Cheers, Rob. On Fri, Mar 5, 2010 at 2:22 AM, Daryl Stultz <kungfumachin...@gmail.com>wrote: > On Mar 3, 9:48 pm, Rob Bygrave <robin.bygr...@gmail.com> wrote: > In a sense, this is a "partial object graph", yes? I assume I can add/ > /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.
| ||||||||||||||