cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aristedes Maniatis <...@maniatis.org>
Subject Re: new to cayenne
Date Wed, 11 Jan 2012 22:59:44 GMT
On 12/01/12 1:16 AM, mailinglist wrote:
> I got the failure
>
> java.sql.SQLException: No rows for 'MY_TABLE"
>
> on commit.
>
> What I did:
>
> read in the whole MY_TABLE (draws some other objects from n:1 relations).
> updated a few objects.
> added a few new objects to the context for MY_TABLE.
>
> issued the commit and got the failure.
>
> Now I need some help how to go further in order to pinpoint the cause.
>
> Kind regards
>
>
> Rolf

Perhaps you could post a few lines of your code. But first reduce your code to just do one
thing: fetch a record, update it and commit again.

Ari




-- 
-------------------------->
Aristedes Maniatis
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Mime
View raw message