You could change one of your relations to a Set, then will it work but that is
not always an option.
But I would never use open session in view filter that's my opinion
Jocke.
> Date: Thu, 7 Oct 2010 14:59:55 -0400
> From: j...@ncphotography.com
> To: stripes-users@lists.sourceforge.net
> Subject: Re: [Stripes-users] Need help: problem with SecurityManager
> and persistence
>
> Grzegorz Krugły wrote:
> > W dniu 07.10.2010 20:43, John Berninger pisze:
> >
> >> > I'm not concerned about sucking the entire model into RAM - when I try
> >> > to make more than one object an eager fetch, I get an exception telling
> >> > me Stripes can't fetch multiple bags at once. I'm already init'ing lazy
> >>
> > What is the exact exception about these multiple bags and what app server
> > You're using? Seems to be
> > ringing a bell, but I'm not sure. Stripes should not throw any
> > exceptions that are related to JPA - these are different layers;
> > stacktraces may contain Stripes' classes, but it's only because the call
> > from request to action to business logic goes through general error
> > handler. The source of those exceptions is almost for sure NOT Stripes.
> >
> Likely true - I believe the source of the "multiple bags" exceptions was
> Hibernate, but I don't remember exactly. An oversimplification leading
> to an inaccurate statement on my part - my apologies.
>
> I'm trying to track down a beginner level "how-to" for the "open session
> in view" design pattern now per Oscar's reply, I'm finding plenty of
> stuff about it, but I haven't yet wrapped my brain all the way around it.
>
> --
> John
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users