The daily failure

From: Holger Hoffstätte (holge..izards.de)
Date: Tue Mar 04 2003 - 09:20:10 EST

  • Next message: Holger Hoffstätte: "More on trim vs. HSQLDB (was Re: PostgreSQL Failures)"

    A new day, a new failure :-)

    It seems the very recent changes have broken something that works for
    Oracle (verified), but not for PostgreSQL/MySQL/HSQLDB (they all suffer
    the same). Any ideas? It worked before I updated Andriy's latest commits
    from ~3 hours ago:

    Error generating PK

    org.objectstyle.cayenne.CayenneRuntimeException: Error generating PK
    at
    org.objectstyle.cayenne.access.DataContext.createPermId(DataContext.java:1249)
    at
    org.objectstyle.cayenne.access.DataContext.createPermIds(DataContext.java:1175)
    at
    org.objectstyle.cayenne.access.DataContext.commitChanges(DataContext.java:755)
    at
    org.objectstyle.cayenne.access.DataContext.commitChanges(DataContext.java:686)
    at
    org.objectstyle.cayenne.CayenneDataObjectInCtxtTst.testStateNewToCommitted(CayenneDataObjectInCtxtTst.java:115)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    Caused by: org.objectstyle.cayenne.CayenneRuntimeException: Error
    generating PK.
    at
    org.objectstyle.cayenne.dba.JdbcPkGenerator$PkRetrieveProcessor.nextGlobalException(JdbcPkGenerator.java:432)
    at
    org.objectstyle.cayenne.access.DataNode.performQueries(DataNode.java:346)
    at
    org.objectstyle.cayenne.dba.JdbcPkGenerator.pkFromDatabase(JdbcPkGenerator.java:340)
    at
    org.objectstyle.cayenne.dba.JdbcPkGenerator.generatePkForDbEntity(JdbcPkGenerator.java:301)
    at
    org.objectstyle.cayenne.access.DataContext.createPermId(DataContext.java:1244)
    ... 28 more
    Caused by: org.objectstyle.cayenne.CayenneRuntimeException: Error
    generating PK for entity 'DbEntity:
    Table name: ARTIST
    Column name: ARTIST_ID (pk)
    Column type: 4
    ------------------
    Column name: ARTIST_NAME
    Column type: 1
    ------------------
    Column name: DATE_OF_BIRTH
    Column type: 91
    ------------------
    Rel. to: ARTIST_EXHIBIT
    ------------------
    Rel. to: ARTIST_GROUP
    ------------------
    Rel. to: PAINTING
    ------------------'.
    at
    org.objectstyle.cayenne.dba.JdbcPkGenerator$PkRetrieveProcessor.nextQueryException(JdbcPkGenerator.java:425)
    at
    org.objectstyle.cayenne.access.DataNode.performQueries(DataNode.java:302)
    ... 31 more
    Caused by: org.objectstyle.cayenne.CayenneRuntimeException: Error
    generating PK : null nextId.
    at
    org.objectstyle.cayenne.dba.JdbcPkGenerator$PkRetrieveProcessor.nextDataRows(JdbcPkGenerator.java:405)
    at org.objectstyle.cayenne.access.DataNode.runSelect(DataNode.java:383)
    at
    org.objectstyle.cayenne.access.DataNode.performQueries(DataNode.java:288)
    ... 31 more



    This archive was generated by hypermail 2.0.0 : Tue Mar 04 2003 - 09:23:22 EST