Error generating pk

From: emre.yilma..tr.com.tr
Date: Mon Apr 03 2006 - 03:11:40 EDT

  • Next message: Andrus Adamchik: "Re: Idle connection errors"

    Hi,

    I get the below exeption for rich client database table row generating.
    How can I store result set from stored procedure.

    org.objectstyle.cayenne.CayenneRuntimeException: [v.1.2-dev-2006-2-23 February 23 2006] Error generating pk for DbEntity Title, no result set from stored
    procedure.
            at org.objectstyle.cayenne.dba.sybase.SybasePkGenerator.pkFromDatabase(SybasePkGenerator.java:197)
            at org.objectstyle.cayenne.dba.JdbcPkGenerator.generatePkForDbEntity(JdbcPkGenerator.java:326)
            at org.objectstyle.cayenne.access.PrimaryKeyHelper.createPermIdsForObjEntity(PrimaryKeyHelper.java:188)
            at org.objectstyle.cayenne.access.DataDomainPrecommitAction.createPrimaryKey(DataDomainPrecommitAction.java:132)
            at org.objectstyle.cayenne.access.DataDomainPrecommitAction.precommit(DataDomainPrecommitAction.java:108)
            at org.objectstyle.cayenne.access.DataDomain.onSyncFlushInternal(DataDomain.java:799)
            at org.objectstyle.cayenne.access.DataDomain$2.transform(DataDomain.java:767)
            at org.objectstyle.cayenne.access.DataDomain.runInTransaction(DataDomain.java:827)
            at org.objectstyle.cayenne.access.DataDomain.onSync(DataDomain.java:764)
            at org.objectstyle.cayenne.access.DataContext.flushToParent(DataContext.java:1227)
            at org.objectstyle.cayenne.access.DataContext.commitChanges(DataContext.java:1085)
            at tr.com.htr.hgys.db.Title.setTitle(Title.java:101)



    This archive was generated by hypermail 2.0.0 : Mon Apr 03 2006 - 03:11:49 EDT