Sam,

this could be a bug in the lifecycle (I haven't looked, I am in a time crunch now). Could you open a bug report documenting your findings.

Thanks
Andrus


On Mar 6, 2007, at 2:59 AM, Sam Shah wrote:

Hi, in a postPersist() callback method I'm trying to get a local copy of the committed object into a new context. The object is already in the database, I've checked the raw data but cayenne is returning an object with a temporary id. The error I'm getting is -

org.apache.cayenne.CayenneRuntimeException: [v.3.0-SNAPSHOT Jan 19 2007 05:26:38] Exception processing message org.apache.cayenne.remote.SyncMessage. Root cause: [v.3.0-SNAPSHOT Jan 19 2007 05:26:38] Error resolving fault for ObjectId: <ObjectId:PaymentIn, TEMP:000004BBD0643E95> and state (hollow). Possible cause - matching row is missing from the database.

What am I doing wrong?



Reply via email to