Return-Path: X-Original-To: apmail-cayenne-user-archive@www.apache.org Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2DD4C9DF0 for ; Wed, 11 Jan 2012 23:00:25 +0000 (UTC) Received: (qmail 50002 invoked by uid 500); 11 Jan 2012 23:00:25 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 49910 invoked by uid 500); 11 Jan 2012 23:00:24 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 49902 invoked by uid 99); 11 Jan 2012 23:00:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2012 23:00:24 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [59.167.240.32] (HELO fish.ish.com.au) (59.167.240.32) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2012 23:00:14 +0000 Received: from ip-136.ish.com.au ([203.29.62.136]:49376) by fish.ish.com.au with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1Rl78y-0004sV-02 for user@cayenne.apache.org; Thu, 12 Jan 2012 09:59:44 +1100 X-CTCH-RefID: str=0001.0A150201.4F0E1460.0056,ss=1,re=0.000,fgs=0 Message-ID: <4F0E1460.30801@maniatis.org> Date: Thu, 12 Jan 2012 09:59:44 +1100 From: Aristedes Maniatis User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0) Gecko/20120106 Thunderbird/10.0 MIME-Version: 1.0 To: user@cayenne.apache.org Subject: Re: new to cayenne References: <4F0D99A6.9090507@ngong.de> In-Reply-To: <4F0D99A6.9090507@ngong.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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