cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: Error generating pk
Date Mon, 03 Apr 2006 09:13:14 GMT
Sorry, you mentioned that in your other message. Unfortunately I  
don't have test environment right now to try it with c-jdbc driver  
(maybe someone else does??) Still, can you provide more information.

You've used Cayenne before and it worked in your environment, right?  
If so, when did it start to happen. Is this something that started to  
happen after switching to a specific version of Cayenne?

Andrus


On Apr 3, 2006, at 1:04 PM, emre.yilmaz@htr.com.tr wrote:

> Hi,
>
> I use MsSql server.
>
> ----- Orjinal Mesaj -----
> Kimden: Andrus Adamchik <andrus@objectstyle.org>
> Tarih: Monday, April 3, 2006 11:29
> Konu: Re: Error generating pk
> Kime: cayenne-user@incubator.apache.org
>
>> What database are you using? Is this Sybase? What version?
>>
>> Andrus
>>
>>
>> On Apr 3, 2006, at 11:11 AM, emre.yilmaz@htr.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.createPermIdsForObjEn 
>> t
>>> ity(PrimaryKeyHelper.java:188)
>>> 	at
>>>
>> org.objectstyle.cayenne.access.DataDomainPrecommitAction.createPrimar 
>> y
>>> 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)
>>>
>>
>>
>>
>


Mime
View raw message