Return-Path: Delivered-To: apmail-incubator-cayenne-user-archive@locus.apache.org Received: (qmail 30287 invoked from network); 28 Mar 2006 11:27:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Mar 2006 11:27:41 -0000 Received: (qmail 5583 invoked by uid 500); 28 Mar 2006 11:27:38 -0000 Delivered-To: apmail-incubator-cayenne-user-archive@incubator.apache.org Received: (qmail 5335 invoked by uid 500); 28 Mar 2006 11:27:37 -0000 Mailing-List: contact cayenne-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cayenne-user@incubator.apache.org Delivered-To: mailing list cayenne-user@incubator.apache.org Received: (qmail 5324 invoked by uid 99); 28 Mar 2006 11:27:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2006 03:27:37 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of hefest@gmail.com designates 64.233.166.177 as permitted sender) Received: from [64.233.166.177] (HELO pproxy.gmail.com) (64.233.166.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2006 03:27:36 -0800 Received: by pproxy.gmail.com with SMTP id x31so1858569pye for ; Tue, 28 Mar 2006 03:27:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=fuhPXTDcCtVRVEFqPjRKc/eLzL1kv53hG5aKPV5MBnIaJivKVmfG6GJnSo53xTWm2leoItE7YojUswlSH3VF+dmMAwvnlgd+SNFWKbQKzQRoRS6YotTOmLVQTncjbv9FG4WBLr4he+PkzT0fiInYQ35zBfIt5N4Prbzvb5OS9R4= Received: by 10.35.105.18 with SMTP id h18mr1528265pym; Tue, 28 Mar 2006 03:27:14 -0800 (PST) Received: by 10.35.97.3 with HTTP; Tue, 28 Mar 2006 03:27:14 -0800 (PST) Message-ID: Date: Tue, 28 Mar 2006 13:27:14 +0200 From: "Tomi NA" To: cayenne-user@incubator.apache.org Subject: Re: Exception: "Temporary ID hasn't been replaced on commit?" In-Reply-To: <110DED9F5106CC47A186602C0DD3938247F2F7@EXVF.fanniemae.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_23105_18507775.1143545234826" References: <110DED9F5106CC47A186602C0DD3938247F2F7@EXVF.fanniemae.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_23105_18507775.1143545234826 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 3/20/06, Gentry, Michael (Contractor) wrote: > For grins, what happens if you use: > > Answer a =3D (Answer) context.createAndRegisterNewObject(Answer.class); > a.setOfferedAnswer(oa); > a.setPerson(person); That's basically what I've been doing. Also, when do you do the commit? What SQL are you seeing? > I'm sorry to say I had to get things done immediately (within a day or two) so I switched back to 1.2M1 and now it works...I'm not really satisfied, bu= t can't afford any more time experimenting with that code as I've got a big project on my back now and the deadlines are looming dangerously over me...sorry I can't shed any more light on the issue. t.n.a. ------=_Part_23105_18507775.1143545234826--