does lazy loading OneToMany Relationship fails RequestFactory proxies?

2011-12-31 Thread Elhanan
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:

Re: does lazy loading OneToMany Relationship fails RequestFactory proxies?

2011-12-31 Thread Thomas Broyer
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.

Re: does lazy loading OneToMany Relationship fails RequestFactory proxies?

2011-12-31 Thread Elhanan Maayan
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

Re: does lazy loading OneToMany Relationship fails RequestFactory proxies?

2011-12-31 Thread Elhanan Maayan
check that, actually i a slightly different error only difference is instead of JobHistory, i get JobHistoryPk can't be sent to the client. On Sun, Jan 1, 2012 at 7:56 AM, Elhanan Maayan elh.maa...@gmail.com wrote: ok, they really REALLY need to fix that thing, i changed the directory of