Re: org.objectstyle.cayenne.CayenneRuntimeException: Some parts of PK are missing in snapshot

From: martin ruff (mruf..imeon.ch)
Date: Thu Dec 05 2002 - 16:36:10 EST

  • Next message: ti..e7en.ru: "update linked objects"

    sorry, I found the mistake:

    Tasks newtask = (Tasks)theDataContext.registeredObject(new
    ObjectId("Tasks", "id" ,tasksID.intValue()));

    the DB-attribute "id" was wrong correct is "ID", now it works fine



    This archive was generated by hypermail 2.0.0 : Thu Dec 05 2002 - 16:36:13 EST