Hie
I do for create like
try{
Employee e = new Employee();
pm.makePersistent(e);
}finally(){
pm.close();
}
For update case I am getting the entity by id and updating one of the
attribute like
Employee e = pm.getObectById(empPK, Employee.class);
e.setSalary(1000);
the question is do i need to call the below statement in this case as well?
pm.makePersistent(e)
Thankx and Regards
Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.