cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arnaud Garcia <arn...@imagemed-87.com>
Subject No object is registered in context with Id ?
Date Tue, 20 Dec 2011 12:19:15 GMT
Hi all,
I have this error that I don't understand ? (see below), what does it means
?

remark: My SXDBPatient Cayenne object has a pk attribute (key) and also an
attribute wich is id

thanks for help,

Arnaud

org.apache.cayenne.CayenneRuntimeException: [v.3.0.2 Jun 11 2011 09:31:18]
No object is registered in context with Id <ObjectId:SXDBPatient,
TEMP:00007136158C010D>
    at
org.apache.cayenne.access.ObjectStore.registerDiff(ObjectStore.java:190)
    at
org.apache.cayenne.access.ObjectStore.nodePropertyChanged(ObjectStore.java:1090)
    at
org.apache.cayenne.util.ObjectContextGraphAction.handleSimplePropertyChange(ObjectContextGraphAction.java:83)
    at
org.apache.cayenne.util.ObjectContextGraphAction.handlePropertyChange(ObjectContextGraphAction.java:67)
    at
org.apache.cayenne.access.DataContext.propertyChanged(DataContext.java:1506)
    at
org.apache.cayenne.CayenneDataObject.writeProperty(CayenneDataObject.java:244)
    at com.systemx.db.model.auto._SXDBPatient.setId(_SXDBPatient.java:42)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message