In my class User, I have a field that is a list of strings:
@Persistent
private List<String> openIds;
When I create a new user, I do this:
User user = new User();
user.openIds.add(openid);
pm.makePersistent(user);
When I break after this last line and look, it openIdscontains the openid that I inserted there. But, when I call later User user = pm.getObjectById(User.class, id);with the correct id, the openIds field will be empty.
Does anyone know what can do this?
EDIT: BTW I'm starting in Google App Engine
UPDATE: looking at the data warehouse viewer, I see that openid was stored correctly in the database. Therefore, it simply does not work out correctly ...
2: . , . , , , , . , , , openid. , .