From nelsonheather@example.com Mon Feb 01 05:58:49 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 91900 invoked from network); 1 Feb 2010 05:58:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2010 05:58:49 -0000 Received: (qmail 69317 invoked by uid 500); 1 Feb 2010 05:58:49 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 69247 invoked by uid 500); 1 Feb 2010 05:58:49 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 69237 invoked by uid 99); 1 Feb 2010 05:58:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 05:58:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nelsonheather@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yx0-f173.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 05:58:39 +0000 Received: by yxe3 with SMTP id 3so2611941yxe.20 for <nelsonheather@example.com>; Sun, 31 Jan 2010 21:58:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=CnMqHjz/TEpygcAiFESmatZs6jmxsYwAgd5oQfhMCk0=; b=YNlocvL12diwJxt9Zgvxvx1m5G+0Sh691EjO02B+uZ4TxC14hpPEwbR72H5mzfK6qy 5HyHyWtkliLwTN69BjVnWXGeJmw6YUvhqSFS8vOSoGXny0LUuzg+PB6nWwUJjWph6lXJ mTKp/Cwr6bwTysBGbHrBqqOITUAxhvQubDG4M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=W6gYfI4mJq4RLvOiT7GNyZDmIkBKL3jp8yMqm/2IRkAdPZNu/3THR04IWBilB3b7h7 vH2NI9vAVrreD18tTQ+wxRkJSPbXwwflA6L2vC8rHXC0c8JvHHiofI/3G57vPTMELID+ /zSpfsreiMmqLw5ZOlSjdopx/53EmvNJW7aBU= Received: by 83.161.120.155 with SMTP id l5mr3443701agf.73.1265003898175; Sun, 31 Jan 2010 21:58:18 -0800 (PST) Received: from ip-146.ish.com.au (ip-146.ish.com.au [83.161.120.155]) by mx.google.com with ESMTPS id 15sm3045254gxk.0.283.161.120.155.58.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 31 Jan 2010 21:58:17 -0800 (PST) From: Lachlan Deck <nelsonheather@example.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: modeler attributes inspection -> target? Date: Mon, 1 Feb 2010 16:58:11 +1100 Message-Id: <nelsonheather@example.com> To: nelsonheather@example.com Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) X-Virus-Checked: Checked by ClamAV on apache.org Hi there, it appears to be an oversight (or bug) to me but in the modeler (3.0 RC2 = included) the attribute inspector shows the target entity for an = attribute in a popup. For non-inheritance relevant entities this is = always a popup with one entity, the entity of the attribute. So kind of = irrelevant as an editable popup. But for entities in an inheritance hierarchy the popup shows all the = entities in that hierarchy in the popup and the first one is chosen. = Choosing a different one has no effect, nor does it make any sense. Is this just from reusing the relationship inspector? with regards, -- Lachlan Deck From nelsonheather@example.com Mon Feb 01 19:39:37 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 75431 invoked from network); 1 Feb 2010 19:39:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2010 19:39:37 -0000 Received: (qmail 12889 invoked by uid 500); 1 Feb 2010 19:39:37 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 12839 invoked by uid 500); 1 Feb 2010 19:39:36 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 12829 invoked by uid 99); 1 Feb 2010 19:39:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 19:39:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nelsonheather@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-fx0-f212.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2010 19:39:26 +0000 Received: by fxm4 with SMTP id 4so450152fxm.12 for <nelsonheather@example.com>; Mon, 01 Feb 2010 11:39:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=xvaG8ZitMLRIdq+WQ+rkxUbloV+OD3UPBw0JvvnC5JI=; b=CfkMo1xkvUcj8QlpOk047uaNubBKIStzFhR0HS+8quaALQpfqiORfD6Lq/3/+Zfjug /nm5rf0iD7IBNWvxvJ8Onk+btSW1JwUaoulrRReUkAgECUaBjkOWo3YR7bpCoN1f5MEl d0JLSModCvjBY+J7G4j439eaTn6bv5d1Ls4MI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=A+Q5w9QagMBLsSN1WzhEvIKlIFPEAWmUqzZ9YpLKh68rII4oZjGOGfFhYpbfiIryDz M82F8em1SHB7dlnxfEDFI+1/g7GOTcvIbRE0hLh/Fu9zuFfU4dzmCz5au3GtST3qm3b1 DbBmLoN6YCvANDiXtFjRWDbk3VgxHnweCy4Ag= Received: by 83.161.120.155 with SMTP id i15mr2630516mue.131.1265053145398; Mon, 01 Feb 2010 11:39:05 -0800 (PST) Received: from ?83.161.120.155? (83.161.120.155.static.exetel.com.au [83.161.120.155]) by mx.google.com with ESMTPS id i7sm1404744mue.46.283.161.120.155.39.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 01 Feb 2010 11:39:03 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: MySQL case sensitive search From: Lachlan Deck <nelsonheather@example.com> In-Reply-To: <nelsonheather@example.com> Date: Tue, 2 Feb 2010 06:38:56 +1100 Content-Transfer-Encoding: quoted-printable Message-Id: <nelsonheather@example.com> References: <nelsonheather@example.com> <nelsonheather@example.com> <nelsonheather@example.com> To: nelsonheather@example.com X-Mailer: Apple Mail (2.1077) Taking to dev... On 01/02/2010, at 7:31 PM, Andrus Adamchik wrote: > MySQL is "special" as always: >=20 > http://dev.mysql.com/doc/refman/5.0/en/case-sensitivity.html Yep, also see: = http://dev.mysql.com/doc/refman/5.0/en/cast-functions.html#function_conver= t So it's easy enough to force case-sensitive comparisons using the binary = keyword, but going the other way is more problematic. i.e., sure you can = do a select to find the default collation for the database but this is = not really good enough. This can be overridden per table and then again = per column. Thoughts Andrus? (This is relevant discussion for CAY-1210). with regards, -- Lachlan Deck From nelsonheather@example.com Tue Feb 02 13:14:54 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 33745 invoked from network); 2 Feb 2010 13:14:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Feb 2010 13:14:54 -0000 Received: (qmail 40442 invoked by uid 500); 2 Feb 2010 13:14:54 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 40408 invoked by uid 500); 2 Feb 2010 13:14:53 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 40398 invoked by uid 99); 2 Feb 2010 13:14:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 13:14:53 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO fish.ish.com.au) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 13:14:45 +0000 Received: from [83.161.120.155] (port=52052 helo=Aris-MacBook-Pro.local) by fish.ish.com.au with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <nelsonheather@example.com>) id 1NcIub-0005uH-2C for nelsonheather@example.com; Wed, 03 Feb 2010 00:35:25 +1100 Message-ID: <nelsonheather@example.com> Date: Wed, 03 Feb 2010 00:14:12 +1100 From: Aristedes Maniatis <nelsonheather@example.com> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:83.161.120.155) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: nelsonheather@example.com Subject: Re: [VOTE] 3.0RC2 References: <nelsonheather@example.com> In-Reply-To: <nelsonheather@example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 31/01/10 4:21 AM, Andrus Adamchik wrote: > Starting a new vote on RC2. New artifacts are here: > > http://people.apache.org/~aadamchik/release/3.0RC2/ +1 It hasn't caused our Swing application to spontaneously combust. :-) Ari -- --------------------------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A From nelsonheather@example.com Tue Feb 02 16:30:25 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 13250 invoked from network); 2 Feb 2010 16:30:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Feb 2010 16:30:25 -0000 Received: (qmail 8584 invoked by uid 500); 2 Feb 2010 16:30:25 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 8550 invoked by uid 500); 2 Feb 2010 16:30:25 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 8539 invoked by uid 99); 2 Feb 2010 16:30:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 16:30:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nelsonheather@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-fx0-f227.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 16:30:17 +0000 Received: by fxm27 with SMTP id 27so250811fxm.27 for <nelsonheather@example.com>; Tue, 02 Feb 2010 08:29:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=OzOBunwGuS0mDolapnI/MGn1XcTUmSAkUrg2gvM6vYk=; b=rATOUMwbbt1hOmcauanfsnycHuUeHW9uQjSlj7Na2ce1XA08zK+uk/bBr6/umlWVjs 1FZ+O7r28bME+HX3zSSpvHfFq6sRQAa8eyMdBqa/NIf6jIzlcMrdMpKumWMtOPF/HRHc Ot+sC09H1EDJSqkQv5ytGeFecOLuoJ3bosReM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=Vi/bUTCvKtgodIbNZFkJo9Xr8qjxz4ub4cl6x7kvReFTjmdkY0+arxpCzYuOEU0ffI oVmdZ45/pp2fFqLGUMQQYq5EsLNcORyIaIhKuwC2/sdIAcoqsB2OaV1rI87FNbB+bv02 hrnP9jQ1e5KC39aEyQmslxxp5z2fnVtpir0ws= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id s27mr6615298faa.13.1265128196595; Tue, 02 Feb 2010 08:29:56 -0800 (PST) In-Reply-To: <nelsonheather@example.com> References: <nelsonheather@example.com> From: Andrey Razumovsky <nelsonheather@example.com> Date: Tue, 2 Feb 2010 19:29:36 +0300 Message-ID: <nelsonheather@example.com> Subject: Re: [VOTE] 3.0RC2 To: nelsonheather@example.com Content-Type: multipart/alternative; boundary=00151747b67ec0e242047ea09c29 X-Virus-Checked: Checked by ClamAV on apache.org --00151747b67ec0e242047ea09c29 Content-Type: text/plain; charset=ISO-8859-1 Just an idea: can we push newly created artifacts e.g. to objectstyle repo? Otherwise it's not easy to test them in maven projects 2010/1/30 Andrus Adamchik <nelsonheather@example.com> > Starting a new vote on RC2. New artifacts are here: > > http://people.apache.org/~aadamchik/release/3.0RC2/<http://people.apache.org/%7Eaadamchik/release/3.0RC2/> > > Andrus > -- Andrey --00151747b67ec0e242047ea09c29-- From nelsonheather@example.com Tue Feb 02 16:45:58 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 18365 invoked from network); 2 Feb 2010 16:45:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Feb 2010 16:45:58 -0000 Received: (qmail 28336 invoked by uid 500); 2 Feb 2010 16:45:57 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 28313 invoked by uid 500); 2 Feb 2010 16:45:57 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 28303 invoked by uid 99); 2 Feb 2010 16:45:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Feb 2010 16:45:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO vorsha.objectstyle.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 02 Feb 2010 16:45:47 +0000 Received: (qmail 26857 invoked from network); 2 Feb 2010 16:45:25 -0000 Received: from unknown (HELO ?IPv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:1?) (83.161.120.155) by localhost with SMTP; 2 Feb 2010 16:45:25 -0000 Message-Id: <nelsonheather@example.com> From: Andrus Adamchik <nelsonheather@example.com> To: nelsonheather@example.com In-Reply-To: <nelsonheather@example.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [VOTE] 3.0RC2 Date: Tue, 2 Feb 2010 18:45:24 +0200 References: <nelsonheather@example.com> <nelsonheather@example.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org We can I guess, although it's a bit of a pain (a new profile, then sharing the repo so that somebody other than me could do it)... I suggest a simpler path - switch to tag, and then do mvn clean install locally. From the ASF legal point of view this is the same as staging on objectstyle.org, as when deploying to Apache, I will not be cloning a "staged" version, but rather doing "mvn clean deploy" myself from the tag again. Andrus On Feb 2, 2010, at 6:29 PM, Andrey Razumovsky wrote: > Just an idea: can we push newly created artifacts e.g. to > objectstyle repo? > Otherwise it's not easy to test them in maven projects > > 2010/1/30 Andrus Adamchik <nelsonheather@example.com> > >> Starting a new vote on RC2. New artifacts are here: >> >> http://people.apache.org/~aadamchik/release/3.0RC2/<http://people.apache.org/%7Eaadamchik/release/3.0RC2/ >> > >> >> Andrus >> > > > > -- > Andrey From nelsonheather@example.com Wed Feb 03 09:22:05 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 24301 invoked from network); 3 Feb 2010 09:22:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Feb 2010 09:22:05 -0000 Received: (qmail 73770 invoked by uid 500); 3 Feb 2010 09:22:05 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 73728 invoked by uid 500); 3 Feb 2010 09:22:04 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 73718 invoked by uid 99); 3 Feb 2010 09:22:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 09:22:04 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nelsonheather@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ey-out-1920.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 09:21:53 +0000 Received: by ey-out-1920.google.com with SMTP id 4so208846eyg.44 for <nelsonheather@example.com>; Wed, 03 Feb 2010 01:21:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=vaRvk8dimH1YyGsOr8sh2kcteMbGbe1IZjD2IgpYJcs=; b=mtS2yeurb0k639IkAWZcxoc7ebD2ejukY+rR22gjvEKovALmD8IMSJZd4rW8Lk8m/X G+sQZRpbGsX7o3ZhtlVnVuOAIY5HYyxDYJWoPr4/OL1mGNfhSC0j3YLXMyHzqy3U/5Vd IBKlyRZHjBNiNZSSEvEXtpy63dbfdi+kXX0d0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=Y6n0ThCVMVpEKEkCJFsjItxUEXgCZJcpiSCTyL1amg/zuHABO/IUxml6WutCPSavdu cCsiADH1JGxAzKWgTNfrXvuz18ZHZdMA3AfL89xMfS8uMs1F2f3Gt2cXrbIe9BItnQSt EePzP4eP8EicjKCdWOOLRtZqUMwNtYBGY93J0= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id d2mr272960wef.13.1265188893215; Wed, 03 Feb 2010 01:21:33 -0800 (PST) In-Reply-To: <nelsonheather@example.com> References: <nelsonheather@example.com> <nelsonheather@example.com> <nelsonheather@example.com> From: Andrey Razumovsky <nelsonheather@example.com> Date: Wed, 3 Feb 2010 12:21:13 +0300 Message-ID: <nelsonheather@example.com> Subject: Re: [VOTE] 3.0RC2 To: nelsonheather@example.com Content-Type: multipart/alternative; boundary=0016e6d7ee968dccf4047eaebec8 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d7ee968dccf4047eaebec8 Content-Type: text/plain; charset=ISO-8859-1 OK. And +1 for the artifacts 2010/2/2 Andrus Adamchik <nelsonheather@example.com> > We can I guess, although it's a bit of a pain (a new profile, then sharing > the repo so that somebody other than me could do it)... > > I suggest a simpler path - switch to tag, and then do mvn clean install > locally. From the ASF legal point of view this is the same as staging on > objectstyle.org, as when deploying to Apache, I will not be cloning a > "staged" version, but rather doing "mvn clean deploy" myself from the tag > again. > > Andrus > > > On Feb 2, 2010, at 6:29 PM, Andrey Razumovsky wrote: > > Just an idea: can we push newly created artifacts e.g. to objectstyle >> repo? >> Otherwise it's not easy to test them in maven projects >> >> 2010/1/30 Andrus Adamchik <nelsonheather@example.com> >> >> Starting a new vote on RC2. New artifacts are here: >>> >>> http://people.apache.org/~aadamchik/release/3.0RC2/<http://people.apache.org/%7Eaadamchik/release/3.0RC2/> >>> <http://people.apache.org/%7Eaadamchik/release/3.0RC2/> >>> >>> Andrus >>> >>> >> >> >> -- >> Andrey >> > > -- Andrey --0016e6d7ee968dccf4047eaebec8-- From nelsonheather@example.com Wed Feb 03 13:20:21 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 12961 invoked from network); 3 Feb 2010 13:20:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Feb 2010 13:20:21 -0000 Received: (qmail 69750 invoked by uid 500); 3 Feb 2010 13:20:21 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 69725 invoked by uid 500); 3 Feb 2010 13:20:21 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 69715 invoked by uid 99); 3 Feb 2010 13:20:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Feb 2010 13:20:21 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO vorsha.objectstyle.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 03 Feb 2010 13:20:13 +0000 Received: (qmail 11398 invoked from network); 3 Feb 2010 13:19:51 -0000 Received: from unknown (HELO ?IPv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:1?) (83.161.120.155) by localhost with SMTP; 3 Feb 2010 13:19:51 -0000 Message-Id: <nelsonheather@example.com> From: Andrus Adamchik <nelsonheather@example.com> To: nelsonheather@example.com In-Reply-To: <nelsonheather@example.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [VOTE] 3.0RC2 Date: Wed, 3 Feb 2010 15:19:50 +0200 References: <nelsonheather@example.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org On Jan 30, 2010, at 7:21 PM, Andrus Adamchik wrote: > Starting a new vote on RC2. New artifacts are here: > > http://people.apache.org/~aadamchik/release/3.0RC2/ > > Andrus Adding my +1, and closing the vote. We have 3 binding +1's as follows: Aristedes Maniatis +1 Andrey Razumovsky +1 Andrus Adamchik +1 I will post the regular/Maven artifacts to their release destinations, and will update the download page. Ari can take from there and make an announcement. Thanks, Andrus From nelsonheather@example.com Thu Feb 04 12:02:02 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 66547 invoked from network); 4 Feb 2010 12:02:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Feb 2010 12:02:02 -0000 Received: (qmail 70006 invoked by uid 500); 4 Feb 2010 12:02:02 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 69973 invoked by uid 500); 4 Feb 2010 12:02:01 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 69963 invoked by uid 99); 4 Feb 2010 12:02:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 12:02:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO vorsha.objectstyle.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Feb 2010 12:01:54 +0000 Received: (qmail 26747 invoked from network); 4 Feb 2010 12:01:32 -0000 Received: from unknown (HELO ?IPv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:1?) (83.161.120.155) by localhost with SMTP; 4 Feb 2010 12:01:32 -0000 Message-Id: <nelsonheather@example.com> From: Andrus Adamchik <nelsonheather@example.com> To: nelsonheather@example.com Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: CM Inheritance tree view , entity cross-linking Date: Thu, 4 Feb 2010 14:01:32 +0200 X-Mailer: Apple Mail (2.936) Just had to debug a fairly large model that I am not intimately familiar with, that used inheritance (entity inheritance as well as multiple custom superclasses) and it was rather hard to understand the overall structure. Wonder if we should create an alternative tree view that presents entities organized by their inheritance (similar to Eclipse "hierarchy" view)? Switching between the default and inheritance view can be done via tabs or toolbar buttons. Non-persistent superclasses can still be shown as disabled class nodes. Another idea is to allow quick movement between DbEntities and ObjEntities. This can be achieved by providing extra links (maybe via right click? or an extra icon next to the main tree icon). This is applicable to both Default and Inheritance views. The tree structure for the inheritance view can look like this (ObjEntities are in mixed case, DbEntities - in uppercase, non-entity superclasses are in <>) : datamap <CayenneDataObject> Artist (ARTIST) Painting (PAINTING) Person (PERSON) Manager (PERSON) <CustomSuperclass1> MyEntity1 (MYENTITY1) ARTIST (Artist) PAINTING (Painting) PERSON (Person, Manager) MYENTITY1 (MyEntity1) Should help in quick navigation and structure visualization... Andrus From nelsonheather@example.com Thu Feb 04 12:52:11 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 669 invoked from network); 4 Feb 2010 12:52:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Feb 2010 12:52:11 -0000 Received: (qmail 48393 invoked by uid 500); 4 Feb 2010 12:52:11 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 48358 invoked by uid 500); 4 Feb 2010 12:52:11 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 48348 invoked by uid 99); 4 Feb 2010 12:52:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 12:52:11 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO fish.ish.com.au) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 12:52:04 +0000 Received: from [83.161.120.155] (port=62783 helo=Aris-MacBook-Pro.local) by fish.ish.com.au with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <nelsonheather@example.com>) id 1Nd1W7-0004C1-0q for nelsonheather@example.com; Fri, 05 Feb 2010 00:13:07 +1100 Message-ID: <nelsonheather@example.com> Date: Thu, 04 Feb 2010 23:51:37 +1100 From: Aristedes Maniatis <nelsonheather@example.com> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:83.161.120.155) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: nelsonheather@example.com Subject: Re: CM Inheritance tree view , entity cross-linking References: <nelsonheather@example.com> In-Reply-To: <nelsonheather@example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 4/02/10 11:01 PM, Andrus Adamchik wrote: > Another idea is to allow quick movement between DbEntities and > ObjEntities. This can be achieved by providing extra links (maybe via > right click? or an extra icon next to the main tree icon). This is > applicable to both Default and Inheritance views. Or perhaps split the left panel into multiple panels, one for ObjEntities and one for DBEntities. Having them in a single tree doesn't make any semantic sense since they aren't related like a tree. That's a more Eclipse approach: everything in a separate dockable window. Ari -- --------------------------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A From nelsonheather@example.com Thu Feb 04 13:07:14 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 3431 invoked from network); 4 Feb 2010 13:07:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Feb 2010 13:07:14 -0000 Received: (qmail 58681 invoked by uid 500); 4 Feb 2010 13:07:14 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 58623 invoked by uid 500); 4 Feb 2010 13:07:14 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 58613 invoked by uid 99); 4 Feb 2010 13:07:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 13:07:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO vorsha.objectstyle.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Feb 2010 13:07:07 +0000 Received: (qmail 20627 invoked from network); 4 Feb 2010 13:06:46 -0000 Received: from unknown (HELO ?IPv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:1?) (83.161.120.155) by localhost with SMTP; 4 Feb 2010 13:06:46 -0000 Message-Id: <nelsonheather@example.com> From: Andrus Adamchik <nelsonheather@example.com> To: nelsonheather@example.com In-Reply-To: <nelsonheather@example.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: CM Inheritance tree view , entity cross-linking Date: Thu, 4 Feb 2010 15:06:45 +0200 References: <nelsonheather@example.com> <nelsonheather@example.com> X-Mailer: Apple Mail (2.936) I thought about that too. Our problem is that unlike Eclipse we don't have a nice component for organizing the docked views, that users can shift around to their liking, so overcomplicating the view will make it unpleasant for many people. Also the idea of links between Obj and Db layers does not contradict your suggestion (or the current layout), as it is about quickly jumping to a related object, no matter which view it is in. Andrus On Feb 4, 2010, at 2:51 PM, Aristedes Maniatis wrote: > On 4/02/10 11:01 PM, Andrus Adamchik wrote: >> Another idea is to allow quick movement between DbEntities and >> ObjEntities. This can be achieved by providing extra links (maybe via >> right click? or an extra icon next to the main tree icon). This is >> applicable to both Default and Inheritance views. > > Or perhaps split the left panel into multiple panels, one for > ObjEntities and one for DBEntities. Having them in a single tree > doesn't make any semantic sense since they aren't related like a > tree. That's a more Eclipse approach: everything in a separate > dockable window. > > Ari > > -- > --------------------------> > Aristedes Maniatis > GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A > From nelsonheather@example.com Thu Feb 04 13:08:35 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 3681 invoked from network); 4 Feb 2010 13:08:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Feb 2010 13:08:35 -0000 Received: (qmail 59048 invoked by uid 500); 4 Feb 2010 13:08:35 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 58978 invoked by uid 500); 4 Feb 2010 13:08:34 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 58968 invoked by uid 99); 4 Feb 2010 13:08:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 13:08:34 +0000 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nelsonheather@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO lo.gmane.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 13:08:25 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from <nelsonheather@example.com>) id 1Nd1RF-00012D-Am for nelsonheather@example.com; Thu, 04 Feb 2010 14:08:05 +0100 Received: from 83.161.120.155 ([83.161.120.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <nelsonheather@example.com>; Thu, 04 Feb 2010 14:08:05 +0100 Received: from a.adrian.tech by 83.161.120.155 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <nelsonheather@example.com>; Thu, 04 Feb 2010 14:08:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: nelsonheather@example.com From: "Adrian A." <nelsonheather@example.com> Subject: Re: CM Inheritance tree view , entity cross-linking Date: Thu, 04 Feb 2010 14:07:52 +0100 Lines: 26 Message-ID: <nelsonheather@example.com> References: <nelsonheather@example.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: nelsonheather@example.com X-Gmane-NNTP-Posting-Host: 83.161.120.155 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:83.161.120.155) Gecko/20100111 Thunderbird/3.0.1 In-Reply-To: <nelsonheather@example.com> Sender: news <nelsonheather@example.com> X-Virus-Checked: Checked by ClamAV on apache.org > Just had to debug a fairly large model that I am not intimately familiar > with, that used inheritance (entity inheritance as well as multiple > custom superclasses) and it was rather hard to understand the overall > structure. This is the case for most users: they have to use, understand and extend the model from other designer/architect/senior developer (at least in commercial projects). > Wonder if we should create an alternative tree view +1 for a treeview, but IMHO there's no need to be "alternative", but to be displayed in the same structure, and also have the attributes too, like in this screenshot (the tree only): https://issues.apache.org/jira/secure/attachment/12403124/CM+-+Data+Browse+1.png A simple setting (and shortcut) could toggle this "detailed" tree to show all attributes (and super classes) instead of just the entity names as tree nodes. IMHO this also overlaps with the: https://issues.apache.org/jira/browse/CAY-217 and https://issues.apache.org/jira/browse/CAY-155 since there this detailed tree would be also required. Adrian. From nelsonheather@example.com Thu Feb 04 13:18:36 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 5943 invoked from network); 4 Feb 2010 13:18:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Feb 2010 13:18:36 -0000 Received: (qmail 68913 invoked by uid 500); 4 Feb 2010 13:18:36 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 68890 invoked by uid 500); 4 Feb 2010 13:18:36 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 68880 invoked by uid 99); 4 Feb 2010 13:18:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 13:18:36 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO vorsha.objectstyle.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Feb 2010 13:18:30 +0000 Received: (qmail 29799 invoked from network); 4 Feb 2010 13:18:09 -0000 Received: from unknown (HELO ?IPv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:1?) (83.161.120.155) by localhost with SMTP; 4 Feb 2010 13:18:09 -0000 Message-Id: <nelsonheather@example.com> From: Andrus Adamchik <nelsonheather@example.com> To: nelsonheather@example.com In-Reply-To: <nelsonheather@example.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: CM Inheritance tree view , entity cross-linking Date: Thu, 4 Feb 2010 15:18:08 +0200 References: <nelsonheather@example.com> <nelsonheather@example.com> X-Mailer: Apple Mail (2.936) On Feb 4, 2010, at 3:07 PM, Adrian A. wrote: > A simple setting (and shortcut) could toggle this "detailed" tree to > show all attributes (and super classes) instead of just the entity > names as tree nodes. Yeah, something like would work. E.g. I like the toggle buttons in Eclipse in the headers of most panels, that change the view options without changing the tab. Andrus From nelsonheather@example.com Thu Feb 04 14:00:15 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 26010 invoked from network); 4 Feb 2010 14:00:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Feb 2010 14:00:15 -0000 Received: (qmail 38361 invoked by uid 500); 4 Feb 2010 14:00:15 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 38333 invoked by uid 500); 4 Feb 2010 14:00:14 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 38323 invoked by uid 99); 4 Feb 2010 14:00:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 14:00:14 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-ew0-f212.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 14:00:08 +0000 Received: by ewy4 with SMTP id 4so1116256ewy.27 for <nelsonheather@example.com>; Thu, 04 Feb 2010 05:59:46 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id x16mr638197wee.106.1265291986269; Thu, 04 Feb 2010 05:59:46 -0800 (PST) In-Reply-To: <nelsonheather@example.com> References: <nelsonheather@example.com> From: Michael Gentry <nelsonheather@example.com> Date: Thu, 4 Feb 2010 08:58:14 -0500 Message-ID: <nelsonheather@example.com> Subject: Re: CM Inheritance tree view , entity cross-linking To: nelsonheather@example.com Content-Type: text/plain; charset=ISO-8859-1 On Thu, Feb 4, 2010 at 7:01 AM, Andrus Adamchik <nelsonheather@example.com> wrote: > Another idea is to allow quick movement between DbEntities and ObjEntities. > This can be achieved by providing extra links (maybe via right click? or an > extra icon next to the main tree icon). This is applicable to both Default > and Inheritance views. +++ This is my single biggest annoyance when working with a large model. I kind of miss the EOModeler combined view. That was convenient. I know there are differences between Cayenne Modeler and EOModeler, but the fact I didn't have to do extra scrolling to see the DB-side vs the Java-side (and even ObjC -- I go way back) was really nice. I need to free up some more time to work on a few of these things. Sigh. Thanks, mrg From nelsonheather@example.com Thu Feb 04 14:02:20 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 26818 invoked from network); 4 Feb 2010 14:02:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 4 Feb 2010 14:02:20 -0000 Received: (qmail 43103 invoked by uid 500); 4 Feb 2010 14:02:20 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 43071 invoked by uid 500); 4 Feb 2010 14:02:20 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 43061 invoked by uid 99); 4 Feb 2010 14:02:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 14:02:20 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-ew0-f212.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 14:02:13 +0000 Received: by ewy4 with SMTP id 4so1118550ewy.27 for <nelsonheather@example.com>; Thu, 04 Feb 2010 06:01:52 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id t53mr696778wel.56.1265292111228; Thu, 04 Feb 2010 06:01:51 -0800 (PST) In-Reply-To: <nelsonheather@example.com> References: <nelsonheather@example.com> <nelsonheather@example.com> From: Michael Gentry <nelsonheather@example.com> Date: Thu, 4 Feb 2010 09:01:31 -0500 Message-ID: <nelsonheather@example.com> Subject: Re: CM Inheritance tree view , entity cross-linking To: nelsonheather@example.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Too follow up my own ramble ... Probably want a menu/keyboard shortcut in addition to an icon in the toolbar/etc. Maybe Command-J (Jump to Counterpart)? mrg On Thu, Feb 4, 2010 at 8:58 AM, Michael Gentry <nelsonheather@example.com> wrot= e: > On Thu, Feb 4, 2010 at 7:01 AM, Andrus Adamchik <nelsonheather@example.com> = wrote: >> Another idea is to allow quick movement between DbEntities and ObjEntiti= es. >> This can be achieved by providing extra links (maybe via right click? or= an >> extra icon next to the main tree icon). This is applicable to both Defau= lt >> and Inheritance views. > > +++ > > This is my single biggest annoyance when working with a large model. > I kind of miss the EOModeler combined view. =A0That was convenient. =A0I > know there are differences between Cayenne Modeler and EOModeler, but > the fact I didn't have to do extra scrolling to see the DB-side vs the > Java-side (and even ObjC -- I go way back) was really nice. > > I need to free up some more time to work on a few of these things. =A0Sig= h. > > Thanks, > > mrg > From nelsonheather@example.com Fri Feb 05 11:47:42 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 76216 invoked from network); 5 Feb 2010 11:47:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Feb 2010 11:47:42 -0000 Received: (qmail 98043 invoked by uid 500); 5 Feb 2010 11:47:42 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 97977 invoked by uid 500); 5 Feb 2010 11:47:42 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 97967 invoked by uid 99); 5 Feb 2010 11:47:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2010 11:47:41 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO vorsha.objectstyle.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 05 Feb 2010 11:47:33 +0000 Received: (qmail 18882 invoked from network); 5 Feb 2010 11:47:12 -0000 Received: from unknown (HELO ?IPv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:1?) (83.161.120.155) by localhost with SMTP; 5 Feb 2010 11:47:12 -0000 Message-Id: <nelsonheather@example.com> From: Andrus Adamchik <nelsonheather@example.com> To: nelsonheather@example.com In-Reply-To: <nelsonheather@example.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [jira] Updated: (CAY-1377) EJBQLQuery: when using relationships in the SELECT clause, must generate INNER, not OUTER JOINS Date: Fri, 5 Feb 2010 13:47:11 +0200 References: <nelsonheather@example.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 5, 2010, at 1:43 PM, Ari Maniatis (JIRA) wrote: > Ari Maniatis updated CAY-1377: > ------------------------------ > > Fix Version/s: (was: 3.0RC2) > 3.0RC3 I think we forgot to close this one, but the code is committed and included in RC2. See RC2 release notes for instance, or the subversion tab in Jira: https://issues.apache.org/jira/browse/CAY-1377?page=com.atlassian.jira.plugin.ext.subversion%3Asubversion-commits-tabpanel Andrus From nelsonheather@example.com Fri Feb 05 11:51:16 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 77030 invoked from network); 5 Feb 2010 11:51:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 5 Feb 2010 11:51:15 -0000 Received: (qmail 3771 invoked by uid 500); 5 Feb 2010 11:51:15 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 3752 invoked by uid 500); 5 Feb 2010 11:51:15 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 3742 invoked by uid 99); 5 Feb 2010 11:51:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2010 11:51:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 05 Feb 2010 11:51:14 +0000 Received: (qmail 76703 invoked by uid 99); 5 Feb 2010 11:50:53 -0000 Received: from localhost.apache.org (HELO Aris-MacBook-Pro.local) (83.161.120.155) (smtp-auth username amaniatis, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2010 11:50:53 +0000 Message-ID: <nelsonheather@example.com> Date: Fri, 05 Feb 2010 22:50:51 +1100 From: Aristedes Maniatis <nelsonheather@example.com> User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:83.161.120.155) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: nelsonheather@example.com, nelsonheather@example.com Subject: Cayenne RC2 release Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit We are very pleased to release 3.0 RC2. Another significant step along the way toward the final 3.0 release. A few (most minor) bugs have been fixed: https://issues.apache.org/jira/browse/CAY/fixforversion/12314495 Anyone using Cayenne 3 is recommended to upgrade to this release. Users of Cayenne 2.x and earlier are recommended to upgrade their development environments and perform testing to ensure your application can be upgraded smoothly. http://cayenne.apache.org/download.html Best regards from the Cayenne development team. -- Aristedes Maniatis From nelsonheather@example.com Sun Feb 07 15:18:57 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 80919 invoked from network); 7 Feb 2010 15:18:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Feb 2010 15:18:57 -0000 Received: (qmail 28880 invoked by uid 500); 7 Feb 2010 15:18:56 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 28848 invoked by uid 500); 7 Feb 2010 15:18:56 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 28838 invoked by uid 99); 7 Feb 2010 15:18:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Feb 2010 15:18:55 +0000 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=SPF_PASS,SUBJ_ALL_CAPS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO vorsha.objectstyle.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 07 Feb 2010 15:18:48 +0000 Received: (qmail 4861 invoked from network); 7 Feb 2010 15:18:26 -0000 Received: from unknown (HELO ?IPv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:1?) (83.161.120.155) by localhost with SMTP; 7 Feb 2010 15:18:26 -0000 Message-Id: <nelsonheather@example.com> From: Andrus Adamchik <nelsonheather@example.com> To: nelsonheather@example.com Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: CAY-1378, CAY-1009... Date: Sun, 7 Feb 2010 17:18:24 +0200 References: <nelsonheather@example.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Guys, we need to do something about CAY-1009. The fix doesn't look logical to me, and now it turns out that it breaks other things per CAY-1378. I am looking at commented out test case InheritanceTest.testCAY1009() that Kevin created, and from what I can tell, Cayenne does the right thing here (without the CAY-1009 fix). I.e. DirectToSubEntity.subEntities is NOT a reverse relationship of BaseEntity.toDirectToSubEntity, so we should not expect it to behave as one. Bryan and Andrey also had problems with "runtime" relationships. So could you create test cases for those so we can maybe try looking for the another cause is elsewhere? Or maybe you could provide a failing mapping and describe the problem? Andrus Begin forwarded message: > Andrus Adamchik updated CAY-1378: > --------------------------------- > > Attachment: 0001-CAY-1378-no-reverse-for-inheritance.patch > > I tend to agree with Victor. Here is my patch reverting CAY-1009 > commit (plus some minor loop refactoring). This fails uncommented > InheritanceTest, but I think the test is wrong. I won't commit this > yet, and will take further discussion to the dev list. From nelsonheather@example.com Sun Feb 07 15:23:54 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 81501 invoked from network); 7 Feb 2010 15:23:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Feb 2010 15:23:53 -0000 Received: (qmail 30002 invoked by uid 500); 7 Feb 2010 15:23:53 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 29970 invoked by uid 500); 7 Feb 2010 15:23:53 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 29960 invoked by uid 99); 7 Feb 2010 15:23:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Feb 2010 15:23:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO vorsha.objectstyle.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 07 Feb 2010 15:23:45 +0000 Received: (qmail 5302 invoked from network); 7 Feb 2010 15:23:24 -0000 Received: from unknown (HELO ?IPv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:1?) (83.161.120.155) by localhost with SMTP; 7 Feb 2010 15:23:24 -0000 Message-Id: <nelsonheather@example.com> From: Andrus Adamchik <nelsonheather@example.com> To: nelsonheather@example.com In-Reply-To: <nelsonheather@example.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: CAY-1378, CAY-1009... Date: Sun, 7 Feb 2010 17:23:23 +0200 References: <nelsonheather@example.com> <nelsonheather@example.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Actually Bryan's case seems to be pretty clear. I will try to create a test case for it now: > We have a source entity with two to-one relationships to target > entities that both inherit from the same table. When we try to > insert a new instance of the source entity, we get: > > org.apache.cayenne.CayenneRuntimeException: > Error resolving to-one fault. More than one object found. Source > Id: > <ObjectId:Claim, CLAIM_ID=8891>, relationship: > runtimeRelationship0 > > org.apache.cayenne.access.ToOneFault.doResolveFault(ToOneFault.java: > 90) > org.apache.cayenne.access.ToOneFault.resolveFault(ToOneFault.java: > 54) > > Cayenne found two objects in the table and thought it was an error. On Feb 7, 2010, at 5:18 PM, Andrus Adamchik wrote: > Guys, we need to do something about CAY-1009. The fix doesn't look > logical to me, and now it turns out that it breaks other things per > CAY-1378. > > I am looking at commented out test case > InheritanceTest.testCAY1009() that Kevin created, and from what I > can tell, Cayenne does the right thing here (without the CAY-1009 > fix). I.e. DirectToSubEntity.subEntities is NOT a reverse > relationship of BaseEntity.toDirectToSubEntity, so we should not > expect it to behave as one. > > Bryan and Andrey also had problems with "runtime" relationships. So > could you create test cases for those so we can maybe try looking > for the another cause is elsewhere? Or maybe you could provide a > failing mapping and describe the problem? > > Andrus > > > > Begin forwarded message: >> Andrus Adamchik updated CAY-1378: >> --------------------------------- >> >> Attachment: 0001-CAY-1378-no-reverse-for-inheritance.patch >> >> I tend to agree with Victor. Here is my patch reverting CAY-1009 >> commit (plus some minor loop refactoring). This fails uncommented >> InheritanceTest, but I think the test is wrong. I won't commit this >> yet, and will take further discussion to the dev list. > > From nelsonheather@example.com Sun Feb 07 15:37:20 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 84134 invoked from network); 7 Feb 2010 15:37:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Feb 2010 15:37:20 -0000 Received: (qmail 33574 invoked by uid 500); 7 Feb 2010 15:37:20 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 33540 invoked by uid 500); 7 Feb 2010 15:37:20 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 33529 invoked by uid 99); 7 Feb 2010 15:37:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Feb 2010 15:37:20 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nelsonheather@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ww0-f43.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Feb 2010 15:37:13 +0000 Received: by wwi17 with SMTP id 17so1214777wwi.16 for <nelsonheather@example.com>; Sun, 07 Feb 2010 07:36:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=SuhJF9hhIRa8tDxlrnFRmUfXfmYe1qD5mGmGGn2YOm4=; b=FFW3WTzCQJHck6sl201/rtCH5Ij+vOJJEmmXz5uPU5nVBa7NcpgXRvydqdll5ZDCpo hyPG6j3i+J5gyjKHgPXiThHWpJlUB1/XK2s5xZP/lWpb8clK1IbRPtBnJeIaS3OxNCy1 H5Pg4c4FtAWzKi5G6ZPs43XIAFhebbJfkotD8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=qzIt34J4vLHXhCSniOh5D0Or0toM2ZLsNShIZdbkknPDqH+Be9gEKnEKvOi6d8m9aA ZlM0nPxTW7cm+TLwF/3fFhPX1vU9MkWuXtrOY1RTrHTNQt9HKiU9ZMgutEv+Bc2R/OGl e3IgjvXPLDAIb8ADgqnVr9wB6dY/H1RkOQlu0= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id w4mr1659093wee.87.1265557012276; Sun, 07 Feb 2010 07:36:52 -0800 (PST) In-Reply-To: <nelsonheather@example.com> References: <nelsonheather@example.com> <nelsonheather@example.com> <nelsonheather@example.com> From: Andrey Razumovsky <nelsonheather@example.com> Date: Sun, 7 Feb 2010 18:36:32 +0300 Message-ID: <nelsonheather@example.com> Subject: Re: CAY-1378, CAY-1009... To: nelsonheather@example.com Content-Type: multipart/alternative; boundary=0016e6d77ed328e8f0047f0474ee --0016e6d77ed328e8f0047f0474ee Content-Type: text/plain; charset=ISO-8859-1 As far as i remember, the problem is if we have a mapping: entities: A B extends A - mapped in same db table C dbRel: toA, cArray (from C to A and vice versa) - Is Mandatory objRel - toA, cArray (from C to A and vice versa) So, there's isn't any ObjRel from B to C and therefore Cayenne adds runtime relationship. Problems come when we're setting relationship via C.setToA(..) and commit. Cayenne thinks runtime rel from C to B is mandatory (after all, it's mapped to mandatory dbRel) and fails to commit. Not sure why I haven't added test maps when committing, maybe I haven't managed to create one. We need to investigate this futher, so please hold on reverting the patch 2010/2/7 Andrus Adamchik <nelsonheather@example.com> > Actually Bryan's case seems to be pretty clear. I will try to create a test > case for it now: > > We have a source entity with two to-one relationships to target entities >> that both inherit from the same table. When we try to insert a new instance >> of the source entity, we get: >> >> org.apache.cayenne.CayenneRuntimeException: >> Error resolving to-one fault. More than one object found. Source Id: >> <ObjectId:Claim, CLAIM_ID=8891>, relationship: runtimeRelationship0 >> org.apache.cayenne.access.ToOneFault.doResolveFault(ToOneFault.java:90) >> org.apache.cayenne.access.ToOneFault.resolveFault(ToOneFault.java:54) >> >> Cayenne found two objects in the table and thought it was an error. >> > > > > > On Feb 7, 2010, at 5:18 PM, Andrus Adamchik wrote: > > Guys, we need to do something about CAY-1009. The fix doesn't look logical >> to me, and now it turns out that it breaks other things per CAY-1378. >> >> I am looking at commented out test case InheritanceTest.testCAY1009() that >> Kevin created, and from what I can tell, Cayenne does the right thing here >> (without the CAY-1009 fix). I.e. DirectToSubEntity.subEntities is NOT a >> reverse relationship of BaseEntity.toDirectToSubEntity, so we should not >> expect it to behave as one. >> >> Bryan and Andrey also had problems with "runtime" relationships. So could >> you create test cases for those so we can maybe try looking for the another >> cause is elsewhere? Or maybe you could provide a failing mapping and >> describe the problem? >> >> Andrus >> >> >> >> Begin forwarded message: >> >>> Andrus Adamchik updated CAY-1378: >>> --------------------------------- >>> >>> Attachment: 0001-CAY-1378-no-reverse-for-inheritance.patch >>> >>> I tend to agree with Victor. Here is my patch reverting CAY-1009 commit >>> (plus some minor loop refactoring). This fails uncommented InheritanceTest, >>> but I think the test is wrong. I won't commit this yet, and will take >>> further discussion to the dev list. >>> >> >> >> > -- Andrey --0016e6d77ed328e8f0047f0474ee-- From nelsonheather@example.com Sun Feb 07 15:39:58 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 84342 invoked from network); 7 Feb 2010 15:39:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Feb 2010 15:39:58 -0000 Received: (qmail 36661 invoked by uid 500); 7 Feb 2010 15:39:57 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 36642 invoked by uid 500); 7 Feb 2010 15:39:57 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 36632 invoked by uid 99); 7 Feb 2010 15:39:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Feb 2010 15:39:57 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nelsonheather@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ew0-f212.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Feb 2010 15:39:49 +0000 Received: by ewy4 with SMTP id 4so339049ewy.27 for <nelsonheather@example.com>; Sun, 07 Feb 2010 07:39:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=aT41nTjL3V3mMgW5yCBlJFTDAEFtEVeQVRHdYu3LQuE=; b=MT7tgffUq4luvk3aYimj3h7bH2Vlaks0fT41JByNNp88PxbuogBsQ/YmIZkG0Am6fv g8fHSBwvhpVMyQx6hTY7QFhQyFyhUR1w6h8QRc1fLwZTg1oRXCkQBqcvLlbMtf/EzzZy pOwCXuKyfluWaQEOY9U/19gdb0iHwCrkm84g8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=POR4rs8cWmXG5JUfdhV89BOZRadZJ5fbmyvVNHLtyWEbvXsekemKHJRa7lSvyGXDIY mqnmPuEBeE7MdjFBcTetF3d+1l+RcwEDdLV3iBX67zi49MHNeLque3CIF8RFhVqT8E9D Iw52FAwlWRvdLY+0uKXSdQvASeMWivutweVa0= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id y12mr2144853wee.4.1265557169142; Sun, 07 Feb 2010 07:39:29 -0800 (PST) In-Reply-To: <nelsonheather@example.com> References: <nelsonheather@example.com> <nelsonheather@example.com> <nelsonheather@example.com> <nelsonheather@example.com> From: Andrey Razumovsky <nelsonheather@example.com> Date: Sun, 7 Feb 2010 18:39:09 +0300 Message-ID: <nelsonheather@example.com> Subject: Re: CAY-1378, CAY-1009... To: nelsonheather@example.com Content-Type: multipart/alternative; boundary=0016e6d5667a827d59047f047d52 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6d5667a827d59047f047d52 Content-Type: text/plain; charset=ISO-8859-1 Also we need to check Victor's comment: https://issues.apache.org/jira/browse/CAY-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804515#action_12804515 2010/2/7 Andrey Razumovsky <nelsonheather@example.com> > As far as i remember, the problem is if we have a mapping: > entities: > A > B extends A - mapped in same db table > C > > dbRel: > toA, cArray (from C to A and vice versa) - Is Mandatory > > objRel - toA, cArray (from C to A and vice versa) > > So, there's isn't any ObjRel from B to C and therefore Cayenne adds runtime > relationship. > Problems come when we're setting relationship via C.setToA(..) and commit. > Cayenne thinks runtime rel from C to B is mandatory (after all, it's mapped > to mandatory dbRel) and fails to commit. > Not sure why I haven't added test maps when committing, maybe I haven't > managed to create one. > We need to investigate this futher, so please hold on reverting the patch > > 2010/2/7 Andrus Adamchik <nelsonheather@example.com> > > Actually Bryan's case seems to be pretty clear. I will try to create a test >> case for it now: >> >> We have a source entity with two to-one relationships to target entities >>> that both inherit from the same table. When we try to insert a new instance >>> of the source entity, we get: >>> >>> org.apache.cayenne.CayenneRuntimeException: >>> Error resolving to-one fault. More than one object found. Source Id: >>> <ObjectId:Claim, CLAIM_ID=8891>, relationship: runtimeRelationship0 >>> org.apache.cayenne.access.ToOneFault.doResolveFault(ToOneFault.java:90) >>> org.apache.cayenne.access.ToOneFault.resolveFault(ToOneFault.java:54) >>> >>> Cayenne found two objects in the table and thought it was an error. >>> >> >> >> >> >> On Feb 7, 2010, at 5:18 PM, Andrus Adamchik wrote: >> >> Guys, we need to do something about CAY-1009. The fix doesn't look >>> logical to me, and now it turns out that it breaks other things per >>> CAY-1378. >>> >>> I am looking at commented out test case InheritanceTest.testCAY1009() >>> that Kevin created, and from what I can tell, Cayenne does the right thing >>> here (without the CAY-1009 fix). I.e. DirectToSubEntity.subEntities is NOT a >>> reverse relationship of BaseEntity.toDirectToSubEntity, so we should not >>> expect it to behave as one. >>> >>> Bryan and Andrey also had problems with "runtime" relationships. So could >>> you create test cases for those so we can maybe try looking for the another >>> cause is elsewhere? Or maybe you could provide a failing mapping and >>> describe the problem? >>> >>> Andrus >>> >>> >>> >>> Begin forwarded message: >>> >>>> Andrus Adamchik updated CAY-1378: >>>> --------------------------------- >>>> >>>> Attachment: 0001-CAY-1378-no-reverse-for-inheritance.patch >>>> >>>> I tend to agree with Victor. Here is my patch reverting CAY-1009 commit >>>> (plus some minor loop refactoring). This fails uncommented InheritanceTest, >>>> but I think the test is wrong. I won't commit this yet, and will take >>>> further discussion to the dev list. >>>> >>> >>> >>> >> > > > -- > Andrey > -- Andrey --0016e6d5667a827d59047f047d52-- From nelsonheather@example.com Sun Feb 07 16:23:44 2010 Return-Path: <nelsonheather@example.com> Delivered-To: nelsonheather@example.com Received: (qmail 89370 invoked from network); 7 Feb 2010 16:23:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 7 Feb 2010 16:23:44 -0000 Received: (qmail 56375 invoked by uid 500); 7 Feb 2010 16:23:44 -0000 Delivered-To: nelsonheather@example.com Received: (qmail 56339 invoked by uid 500); 7 Feb 2010 16:23:44 -0000 Mailing-List: contact nelsonheather@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:nelsonheather@example.com> List-Unsubscribe: <mailto:nelsonheather@example.com> List-Post: <mailto:nelsonheather@example.com> List-Id: <dev.cayenne.apache.org> Reply-To: nelsonheather@example.com Delivered-To: mailing list nelsonheather@example.com Received: (qmail 56329 invoked by uid 99); 7 Feb 2010 16:23:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Feb 2010 16:23:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO vorsha.objectstyle.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 07 Feb 2010 16:23:36 +0000 Received: (qmail 19098 invoked from network); 7 Feb 2010 16:23:14 -0000 Received: from unknown (HELO ?IPv888a:dbb7:2d49:b3f6:8605:bf4e:caed:e5a4:1?) (83.161.120.155) by localhost with SMTP; 7 Feb 2010 16:23:14 -0000 Message-Id: <nelsonheather@example.com> From: Andrus Adamchik <nelsonheather@example.com> To: nelsonheather@example.com In-Reply-To: <nelsonheather@example.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: CAY-1378, CAY-1009... Date: Sun, 7 Feb 2010 18:23:13 +0200 References: <nelsonheather@example.com> <nelsonheather@example.com> <nelsonheather@example.com> <nelsonheather@example.com> <nelsonheather@example.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org On Feb 7, 2010, at 5:39 PM, Andrey Razumovsky wrote: > Also we need to check Victor's comment: > https://issues.apache.org/jira/browse/CAY-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12804515 > #action_12804515 I did and I agree with him about the semantics of the fix. Also, answering my own earlier observation: > DirectToSubEntity.subEntities is NOT a reverse relationship of > BaseEntity.toDirectToSubEntity, Looks like a simple model of relationship/reverse relationship breaks when inheritance is involved. If we define "reverse" as relationship
{'source': 'Apache Software Foundation Public Mail Archives'}