Saturday, December 31, 2011

Re: does lazy loading OneToMany Relationship fails RequestFactory proxies?

On Saturday, December 31, 2011 9:08:50 PM UTC+1, Elhanan wrote:
i'm trying use an entity employee which has JobHistory entities related to it..i should add that although jobHistory is considered an entity, it has an embeddedId which is a dervied from manytoOne relationships. 

anyway i tried using eager loading, but it still doesn't work. i get this: The domain type cannot be sent to the client

Nothing to do with lazy-loading here: RF cannot find a proxy type for the domain class JobHistory (that matches the one declared as the employee proxy getter return type). It can be an issue with the ValidationTool, or with your code (mismatch between ProxyFor and your proxies and domain classes).

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment