Hello Stefan,
Here's a summary of a situation where I got the error:
I have a Child entity which has a link to its Parent. The parent
entity also has a collection of entities of the Child type.
I'm loading the child to display its values with the help of the GWT
Editor framework, in read-only mode. I need to display some data from
the parent entity as well, so when creating the request, I add
with("parentProperty") to it.
Doing that results in a LazyInitializationException. The exception
claims the proxy "parent.childs" has not been initialized, and indeed
it was not, since I'm displaying only one child. The AutoBeanVisitor
navigated child->parent->childs. The first step was ok, the second one
should not have happened.
Could it be related to the Editor framework, or with Collections, or
even a combination of both?
Thank you very much for you help.
On Sep 8, 10:22 am, StefanR <[email protected]> wrote:
> Hi Tiago,
>
> I just made a little test and it works as expected. Only those getters are
> called which are referenced in the with() statement.
>
> Maybe there's an issue with your entityProxies? Can you provide some details
> about your setup?
>
> Regards,
> Stefan.
--
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.