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
Sushama Khadilkar.
*
* Create Date : 17-Feb-2010
*/
@SuppressWarnings(serial)
@Entity
public class Department implements Serializable{
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
private Key dept_id;
private String dept_name;
private String head;
@OneToMany
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 SetEmployee 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
Max,
Actually that problem is solved .I completely changed my POJO's and that
error is gone .
But now i have one more question to you
Question How can i send a list of employees in a particular department
, because i tried it using Set List but it is giving me a error . So could
you plz
package com.wissen.enterprisebysush.server;
import java.util.List;
import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;
import javax.jdo.Transaction;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;