[appengine-java] Re: Getting error when passing the object to client side please help me..

2011-03-05 Thread andy
hey, thanks. i did that with DTO class. means every time if i want send the result i should have to use DTO class objects?? -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-jav

[appengine-java] Re: Getting error when passing the object to client side please help me..

2011-03-05 Thread Didier Durand
Hi, If you have the managerId in your employeeManager, you just do a query with a filter() on managerId and you'll get all employee having this manager. regards didier On Mar 6, 6:54 am, andy wrote: > thanks , i will try it now... one more thing i wants to ask that how get the > child record(o

[appengine-java] Re: Getting error when passing the object to client side please help me..

2011-03-05 Thread andy
thanks , i will try it now... one more thing i wants to ask that how get the child record(only child properties or including some parent properties) based on the parent properties? because i have used the one to many relation and there is on parent property in child. One way to do this- using t

[appengine-java] Re: Getting error when passing the object to client side please help me..

2011-03-03 Thread Didier Durand
Hi, As said in the message StreamingQueryResult (the result of your query) doesn't itself implement the the Serializable interface that you have for your own classes. What you should do: defining your own class based on any Collection your prefer (List, Vector, Map, etc.), make it implement Seria