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.

-- 
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.

Reply via email to