Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 78153 invoked from network); 3 Jan 2004 11:30:26 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 3 Jan 2004 11:30:26 -0000 Received: (qmail 56957 invoked by uid 500); 3 Jan 2004 11:30:24 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 56929 invoked by uid 500); 3 Jan 2004 11:30:24 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 56915 invoked from network); 3 Jan 2004 11:30:24 -0000 Received: from unknown (HELO mailout05.sul.t-online.com) (194.25.134.82) by daedalus.apache.org with SMTP; 3 Jan 2004 11:30:24 -0000 Received: from fwd03.aul.t-online.de by mailout05.sul.t-online.com with smtp id 1Acjz5-0003Lc-00; Sat, 03 Jan 2004 12:30:23 +0100 Received: from code-au-lait.de (Z2D63uZa8eJoX0hAbAummWoO8S17v1qskDHVid1rD4Dx5blPhH0uEX@[80.145.122.218]) by fmrl03.sul.t-online.com with esmtp id 1Acjyw-1h121o0; Sat, 3 Jan 2004 12:30:14 +0100 Message-ID: <3FF6A7C2.5060902@code-au-lait.de> Date: Sat, 03 Jan 2004 12:30:10 +0100 From: Armin Waibel User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 To: OJB Developers List Subject: Re: MtoN-Testcases fail References: <3FF6A2F2.8010505@gmx.ch> In-Reply-To: <3FF6A2F2.8010505@gmx.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Seen: false X-ID: Z2D63uZa8eJoX0hAbAummWoO8S17v1qskDHVid1rD4Dx5blPhH0uEX@t-dialin.net X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi Jakob, Jakob Braeuchi wrote: > hi all, armin > > there are two new testcases failing in class MtoNMapping > testInsertWithIndirectionTable and testInsertWithIndirectionTable_2. > imo these cases fail because we do not have persons in the project ! > and thus the m:n implementors for the project are deleted. > hmm, but in class-descriptor for Person a collection-descriptor with auto-update true for Project classes is set. OK I don't have persons in the project object, but why should this prevent creation of Roles. One Role(entry in indirection table) was created, the second not? This test creates (store two new Person objects with same new Project object) ---> one new Project (in PERSON table) OK two new Persons (in PROJECT table) OK one new Role (in PERSON_PROJECT table) ?? I checked in this test case because I assume it is a bug. Either I get two Role entries or I get none entry. Why does OJB create one Role? regards, Armin > jakob > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org > For additional commands, e-mail: ojb-dev-help@db.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org