Hi,

I have a problem with persisting ArrayList with JDO. It works totally
fine locally, but when I deploy my app it does not work. My only idea
is that the reason is HR. Anyway, I'd appreciate some ideas how to fix
it :)

in User class:


@Persistent(defaultFetchGroup = "true", serialized="true")
        private ArrayList<ArrayList<Long>> colonisations = new
ArrayList<ArrayList<Long>>();


public void addColonisation(ArrayList<Long> colonisation) {
      colonisations.add(colonisation);
}


And in another class I do:

@Inject
        public Repository<User> userRepo;
...
...
private ArrayList<Long> colonisation = new ArrayList<Long>();
...
...
MySession.get().getUser().colonisations.addColonisation(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 google-appengine-java@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=en.

Reply via email to