From: Rob Bygrave <robin.bygr...@gmail.com>
Date: Thu, 4 Mar 2010 17:07:53 -0800 (PST)
Local: Thurs, Mar 4 2010 8:07 pm
Subject: Re: Eager vs Lazy produces different results
> I was surprised - you always get the whole list. I'd suggest what you wanted to do was more like: List<Integer> myRoles = ...; Ebean.find(User.class) Personally I have a SQL bias and I'd suggest the reason you where That is, when you do the JPA query and see the generated SQL I'd That said... lets make sure we are talking about the exact same thing > the second part of my complaint - eager does not produce the same as lazy Yup - that is going to be a bug - but firstly I want to get to the bottom of the *ToMany filtering. Specifically I want to check the sql that the jpa query generates. Cheers, Rob. On Mar 5, 10:27 am, Daryl Stultz <kungfumachin...@gmail.com> wrote: > On Mar 4, 3:37 pm, Rob Bygrave <robin.bygr...@gmail.com> wrote:
> > So, lets say each customer had tens of thousands of Orders > Yes, I understand the challenge. As I said, when I first found that > > > JoinConfig().query() ... > > Hmmm, I'll have a look at that (I'd suggest that is a bug). > Yes, that's the second part of my complaint - eager does not produce > I'll try to put together a JPA example tonight. > /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.
| ||||||||||||||