Hi ! I have a problem when persist a class.
The exception is:

Object with id "" is handled by another ObjectManager
org.datanucleus.exceptions.NucleusUserException: Objeto con id "" es
manejado por otro ObjectManager
        at
org.datanucleus.ObjectManagerImpl.findStateManager(ObjectManagerImpl.java:
756)
        at
org.datanucleus.store.mapped.scostore.ElementContainerStore.validateElementForWriting(ElementContainerStore.java:
372)
        at
org.datanucleus.store.mapped.scostore.FKListStore.validateElementForWriting(FKListStore.java:
609)
....


I'm not understand because ""(empty id...).
Thepersitent class is
@PersistenceCapable(identityType =
IdentityType.APPLICATION,detachable="true")
public class RegFechaUsuario extends Fecha  {

        @Persistent
        private int puntos;
        @Persistent
        private Long idUsuarioFecha;
        @Persistent
        private Long idFechaOriginal;



And
@Inheritance(strategy = InheritanceStrategy.SUBCLASS_TABLE)
public  abstract class Fecha   {

        @PrimaryKey
        @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
        private Key id;
        @Persistent
        private String nombre;
        @Persistent
        private Date fechaIni;
        @Persistent
        private Date fechaFin;

        @Persistent(defaultFetchGroup = "true")
        List<Partido> partidos;

        private Long id2;


....
Regards!

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