Hi,
I am trying to persist and ArrayList, but it does not work. Everything
is great locally [M/S db], but when I deploy it [HR] then objects do
not persist. Any ideas why? It's really weird and I cannot find any
solution.
I use Guice for injections, here is required code:
@Persistent(defaultFetchGroup = "true", serialized="true")
private ArrayList<ArrayList<Long>> colonisations = new
ArrayList<ArrayList<Long>>();
at User class
Another class, that tries to persist the data:
@Inject
public Repository<User> userRepo;
...
...
MySession.get().getUser().getColonisations().add(colonisation);
...
...
Colonisation.this.userRepo.persist(MySession.get().getUser());
--
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.