ok, they really REALLY need to fix that thing, i changed the directory of .apt_generated to .apt_gen and got an exception on the serve side (some stupid bug in eclipse link which doesn't make it compatible with jpa), i dunno if this was the original problem, but after fixing it still get the original error.
On Sun, Jan 1, 2012 at 1:56 AM, Thomas Broyer <t.bro...@gmail.com> wrote: > > > On Saturday, December 31, 2011 9:08:50 PM UTC+1, Elhanan wrote: >> >> hi.. >> 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: >> com.google.web.bindery.**requestfactory.server.**UnexpectedException: >> The domain type com.hr.model.impl.JobHistory cannot be sent to the client >> at com.google.web.bindery.**requestfactory.server.** >> ServiceLayerDecorator.die(**ServiceLayerDecorator.java:**216) >> at com.google.web.bindery.**requestfactory.server.**ResolverServiceLayer. >> **resolveClientType(**ResolverServiceLayer.java:91) >> > > 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 > https://groups.google.com/d/msg/google-web-toolkit/-/1x-CiiWd-TEJ. > > To post to this group, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.