Thanks,
But i'm not getting wat are u saying so can u plz explain clearly...
--
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-j...@googlegroups.com.
To unsubscribe from this grou
You should make your entity classes visible to the build path of your client
project.
2010/2/17 Sushama Khadilkar
>
>
> Thanks Again Stephan Hartmann,But can u tell me one thing ,
>>>
>> cant we use List or Set or something else for the return type of the
> addEmp() method. because while using
Thanks Again Stephan Hartmann,But can u tell me one thing ,
>>
> cant we use List or Set or something else for the return type of the
addEmp() method. because while using Set as a return type in Async
& in greeting Service i m gettin a error. so plz can u tell it me. Plz
Plz.
The output is::
In your addEmp method i would add
dept.getEmployee().add(e)
after you instantiate your new employee object.
If i remember correctly, according to the JPA spec, managing relationships
is up to you.
BTW i would refactor the name of the list field "employee" to "employees"
(and its get and set metho
Thanks Stephan Hartmann,
But there is another problem now .
Does the DataStore will have a Foreign Key of Department in Employee?
And , is it visible in the Employee table?
Following are my POJO's ::
/Department///
i
Could you please provide the source of your Employee and Department classes?
And AFAIK you must not use full qualified class names in queries but the
simple class name ("Department" only).
Regards,
Stephan
2010/2/16 Sushama Khadilkar
> package com.wissen.enterprisebysush.server;
>
> import java