Please post your save method and the full stack trace. It looks like you're
seeing this in the development server -- are you seeing the same result in
production also?

Out of curiosity, what happens if you remove the first save() call?

- Jason

On Tue, Sep 15, 2009 at 4:51 AM, B Jansen <[email protected]> wrote:

>
> I implemented the basic example of Employee and ContactInfoSets.
> (Employee has a List<ContactInfo>)
>
> When doing this it works fine:
>
>                EmployeeService es = new EmployeeService();
>
>                Employee e = new Employee();
>                es.save(e);
>
>                ContactInfo ci = new ContactInfo();
>                e.addContactInfo(ci);
>
>                es.save(e);
>
> (EmployeeService saves the object in a transaction)
>
> But when I add the @Order annotation to the List, or change the List
> to a LinkedHashSet the second save() gives the following exception:
>
> javax.jdo.JDOFatalUserException: Illegal argument
>   [....]
> java.lang.IllegalArgumentException: can't operate on multiple entity
> groups in a single transaction. found both
> com.google.appengine.api.datastore.dev.LocalDatastoreService$Profile
> $entitygr...@a00185 and
> com.google.appengine.api.datastore.dev.LocalDatastoreService$Profile
> $entitygr...@c3c315
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to