Try @Persistent(defaultFetchGroup = "true")
on anything that's not listed in the Core Value Types table on http://code.google.com/appengine/docs/java/datastore/dataclasses.html Jolam wrote: > This is the object: > _______________ > > @PersistenceCapable(identityType = IdentityType.APPLICATION, > detachable = "true") > public class Client implements java.io.Serializable { > > ........ > > @Persistent > private ArrayList<OneService> serviceRecords; > > @Persistent > private ArrayList<OneService> serviceNow; > > @Persistent > private String remarks; > > ...... > > public ArrayList<OneService> getServiceRecords() { > return serviceRecords; > } > > public void setServiceRecords(ArrayList<OneService> serviceRecords) { > this.serviceRecords.clear(); > for (int i = 0; i < serviceRecords.size(); i++) { > this.serviceRecords.add(serviceRecords.get(i)); > } > } > > public ArrayList<OneService> getServiceNow() { > return serviceNow; > } > > public void setServiceNow(ArrayList<OneService> serviceNow) { > this.serviceNow.clear(); > for (int i = 0; i < serviceRecords.size(); i++) { > this.serviceNow.add(serviceNow.get(i)); > > when i try to make this kind of Object pesistent like this: > _______________________________________________ > > ArrayList<OneService> serviceNow = new ArrayList<OneService>(); > serviceNow.add(oneservice); > client.setServiceNow(serviceNow); > _______________________________________________ > > the ArrayList "serviceNow" in the Object doesn't contains another > object "oneservice" i want to add into the ArrayList"serviceNow". > > p.s. my english is bad and if it makes u confused because of my poor > expression,i beg your pardon. > > -- > > 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 group, send email to > google-appengine-java+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=. > > -- 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 group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=.