From: Rob Bygrave <robin.bygr...@gmail.com>
Date: Thu, 4 Mar 2010 16:29:07 +1300
Local: Wed, Mar 3 2010 10:29 pm
Subject: Re: [ebean] Eager vs Lazy produces different results
If possible could you post up the JPA query and resulting SQL? I'd just Ta, Rob. On Thu, Mar 4, 2010 at 3:48 PM, Rob Bygrave <robin.bygr...@gmail.com> wrote:
> > JPA would always return the entire list of validRoles. > Ok, how about a different example ... > Lets say you have customers and each customer can have 10000's of orders... > ... I want to filter the customer orders to just get the Order.Status.NEW > find customer > Aka ... sometimes you don't want ALL beans on a given path. > Does this example make sense? > On Thu, Mar 4, 2010 at 3:03 PM, Daryl Stultz <kungfumachin...@gmail.com>wrote: >> Hello, >> Consider the following: >> User user = new User(); >> Role role1 = new Role(); >> List<Integer> roleIds = new ArrayList<Integer>(); >> It returns only the valid roles that are in the roleIds list. If I >> /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.
| ||||||||||||||