Re: Caused by: java.lang.IllegalArgumentException: Cannot fetch unpersisted entity

2011-12-25 Thread -sowdri-
Can you post the class firing the below request? >> requests.find(proxyId).with("resource", "action", "subjects").fire(callback); -- 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.g

Re: Caused by: java.lang.IllegalArgumentException: Cannot fetch unpersisted entity

2011-12-23 Thread tzhotmail
Hi , The AbstractRequestFactory in the client throws this exception, method public Request find(EntityProxyId proxyId) { if (((SimpleEntityProxyId) proxyId).isEphemeral()) { throw new IllegalArgumentException("Cannot fetch unpersisted entity"); } but the weird issue is that the da

Re: Caused by: java.lang.IllegalArgumentException: Cannot fetch unpersisted entity

2011-12-20 Thread Thomas Broyer
On Monday, December 19, 2011 10:59:16 PM UTC+1, tzhotmail wrote: > > Hi, > > I have a base Entity class with subclasses as shown below. I can > view and update my entities but I get the exception > java.lang.IllegalArgumentException: Cannot fetch unpersisted entity > whenever I try to save /per

Caused by: java.lang.IllegalArgumentException: Cannot fetch unpersisted entity

2011-12-20 Thread tzhotmail
Hi, I have a base Entity class with subclasses as shown below. I can view and update my entities but I get the exception java.lang.IllegalArgumentException: Cannot fetch unpersisted entity whenever I try to save /persist a new entity. Does request factory support inheritance ? @MappedSupercla