It seems I might indeed be the first one to encounter this problem, so I've opened an issue for it: http://code.google.com/p/google-web-toolkit/issues/detail?id=6767
Thanks, Tiago. On Fri, Sep 2, 2011 at 10:39 AM, Tiago Rinck Caveden <[email protected]>wrote: > Hello again, > > Sorry for annoying the group again, but really nobody else has > ever encountered this issue? It seems I get it every time I use GWT editors > with Hibernate lazy proxies... I can't just convert every lazy property to > eager, so I wonder how you people are doing. > > Thank you! > > > On Tue, Aug 16, 2011 at 6:07 PM, Tiago Rinck Caveden <[email protected]>wrote: > >> Hello all, >> >> Sorry if this has been answered somewhere - it probably has, since I doubt >> I'm the fist one to have the issue - but I couldn't find it. >> >> I have an EntityProxy for a Hibernate entity which contains a lazy >> collection. In a particular use case I need this collection, so I have the >> getter defined in the EntityProxy interface. In another use case, I have no >> use for it, so it should not be loaded. But the AutoBeanVisitor tries to >> visit every element of the said collection, what raises a runtime error >> since at this stage there's no Hibernate session open. >> >> How can I prevent this visitor from accessing this unloaded hibernate >> proxy? >> >> Thank you. >> >> > > > -- > Tiago Rinck Caveden > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
