On Sat, Dec 11, 2010 at 6:31 PM, Chris Miles <ch...@chrismiles.org> wrote:
> I am doing:
>
>          this.transactionBean.invoke(new Transaction() {
>                public void invoke() throws Exception {
>                    List<Category> categories =
> this.shopService.getCategories();
>                   // populate form/list
>                }
>            });
>
> So I am never removing the entities from the transactional code now yet the
> call to getCategories is not respecting the lazy loading from the look of
> it.  It takes a long time to complete and seems to pull out the full object
> graph still.

Nothing comes to my mind having seen the snippet. I've got more
questions and no answers, and guess I would have to create a test case
to see it in action and propose a solution.

Would you mind if I asked you for a simple test case to reproduce the
issue? I'd appreciate it very much.

Jacek

-- 
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl

Reply via email to