Same exception happened to me once. I was by error managing 2 pm instances, and trying to get an object with pm1 and to update it with pm2.
Envoyé de mon iPad Le 3 oct. 2010 à 16:43, lisandrodc <lisandr...@gmail.com> a écrit : > 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 google-appengine-j...@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. > -- 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-j...@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.