OHHHH thanks that was the problem I was using the same pm...
It was declarec as field, I changed the method:
@Override
public List<?> getClientData(MyPersistance filterClass) {
// TODO Auto-generated method stub
PersistenceManager pm =
getPersistenceManagerFactory().getPersistenceManager();
Query clientQ = pm.newQuery(filterClass.getClass());
List<?> clientList = new ArrayList();
List<?> clientPCopy;
try {
clientList = (List<?>) clientQ.execute();
clientPCopy = (List<?>) pm.detachCopyAll(clientList);
} finally {
clientQ.closeAll();
}
return clientPCopy;
}
And now It's Ok... Thanks...
--
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.