Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 24016 invoked from network); 8 Sep 2003 20:39:28 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 8 Sep 2003 20:39:27 -0000 Received: (qmail 55922 invoked by uid 500); 8 Sep 2003 20:38:56 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 55904 invoked by uid 500); 8 Sep 2003 20:38:55 -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 55862 invoked from network); 8 Sep 2003 20:38:55 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by daedalus.apache.org with SMTP; 8 Sep 2003 20:38:55 -0000 Received: (qmail 24922 invoked by uid 65534); 8 Sep 2003 20:38:10 -0000 Received: from adsl-62-167-93-148.adslplus.ch (EHLO gmx.ch) (62.167.93.148) by mail.gmx.net (mp025) with SMTP; 08 Sep 2003 22:38:10 +0200 Message-ID: <3F5CE888.6040900@gmx.ch> Date: Mon, 08 Sep 2003 22:37:28 +0200 From: Jakob Braeuchi User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: OJB Developers List Subject: Re: Identity.realClass set to abstract class?! References: <6D48B8403D926449BDE8440EC7EEC46D01010DFF@max.ppinet.de> <3F5CDE98.4010304@gmx.ch> In-Reply-To: <3F5CDE98.4010304@gmx.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 olli, just a thought: do we really need identity when we have the owners and their children ? jakob Jakob Braeuchi wrote: > hi olli, > > oliver.matz@ppi.de wrote: > >> Hello Jakob, >> >> >> >>> -----Original Message----- >>> From: Jakob Braeuchi [mailto:jbraeuchi@gmx.ch] >>> >>> i fixed this in Collection- and ReferencePrefetcher. >>> >> >> >> I feel a bit uncomfortable with it, because it >> might mean a dramatic loss of performance in some cases, >> as I mentioned in my response to Armin (this thread): >> >> > i'm aware of this problem. but if the creation of the identity was > clearly wrong (as written by thomas) then we need to do something. > >> >> >>> Assume, for example, that there is one single top-level >>> class that all other persistence-capable classes >>> extend. Then, with [this] change, resolving a reference will result >>> in a search through all tables. >>> >> >> >> Don't you agree? >> >> For the future, I would like to propose junit tests >> that verify that the number of generated SQL statements >> has not increased. We have such tests in our project, >> using p6spy with a test-specific logger to count SQL statements. >> > this is a good idea. > > jakob > >> >> Olli >> >> >> --------------------------------------------------------------------- >> 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 > > --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org