Hi,
I use MsSql server.
----- Orjinal Mesaj -----
Kimden: Andrus Adamchik <andru..bjectstyle.org>
Tarih: Monday, April 3, 2006 11:29
Konu: Re: Error generating pk
Kime: cayenne-use..ncubator.apache.org
> What database are you using? Is this Sybase? What version?
>
> Andrus
>
>
> On Apr 3, 2006, at 11:11 AM, emre.yilma..tr.com.tr wrote:
>
> > 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.createPermIdsForObjEnt
> > ity(PrimaryKeyHelper.java:188)
> > at
> >
> org.objectstyle.cayenne.access.DataDomainPrecommitAction.createPrimary
> > Key(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 - 05:04:50 EDT