Re: Temp ID issue - Exception

From: Tore Halset (halse..vv.ntnu.no)
Date: Wed Sep 19 2007 - 06:54:57 EDT

  • Next message: Chris Gamache: "Re: PostgreSQL custom data type"

    Hello.

    Looks like you are using an uncomitted new object in a query. Could
    you post your relevant java code?

      - Tore.

    On Sep 19, 2007, at 12:12 , Gary Jarrel wrote:

    > Hi Guys!
    >
    > Any thoughts on what could be causing this during commit?
    >
    > org.apache.cayenne.CayenneRuntimeException: [v.3.0M1 Jul 27 2007
    > 23:05:47] Can't build a query for temporary id:
    > <ObjectId:CorrespondenceRecepientNotification, TEMP:0000032DC4F40101>
    > at
    > org.apache.cayenne.query.ObjectIdQuery.createReplacementQuery
    > (ObjectIdQuery.java:120)
    > at
    > org.apache.cayenne.query.IndirectQuery.getReplacementQuery
    > (IndirectQuery.java:75)
    > at org.apache.cayenne.query.IndirectQuery.route
    > (IndirectQuery.java:58)
    > at org.apache.cayenne.access.DataDomainQueryAction.runQuery
    > (DataDomainQueryAction.java:
    > <snip>
    >
    > I've did some googling and came across similar errors, all which
    > related to version 1.2 of Cayenne and all appear to have been resolved
    > based on the Jira issues which I read?
    >
    > Thank you!
    >
    > Gary
    >



    This archive was generated by hypermail 2.0.0 : Wed Sep 19 2007 - 06:55:40 EDT