Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 12578 invoked from network); 16 Mar 2005 09:21:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Mar 2005 09:21:05 -0000 Received: (qmail 36281 invoked by uid 500); 16 Mar 2005 09:21:05 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 36201 invoked by uid 500); 16 Mar 2005 09:21:04 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 36185 invoked by uid 99); 16 Mar 2005 09:21:04 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from pc7.tewisoft.TGZ-Ilmenau.de (HELO gate-mail.tewisoft.de) (194.94.251.54) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 16 Mar 2005 01:21:03 -0800 Received: from localhost (localhost [127.0.0.1]) by gate-mail.tewisoft.de (Postfix) with ESMTP id 0CA1A18622 for ; Wed, 16 Mar 2005 10:20:52 +0100 (CET) Received: from gate-mail.tewisoft.de (localhost [127.0.0.1]) by localhost (AvMailGate-2.0.1.16) id 28591-7DA418CF; Wed, 16 Mar 2005 10:20:52 +0100 Received: from mail.tewisoft.de (unknown [192.168.20.18]) by gate-mail.tewisoft.de (Postfix) with ESMTP id E7F757204 for ; Wed, 16 Mar 2005 10:20:51 +0100 (CET) Received: by mail.tewisoft.de (Postfix, from userid 65534) id 2235433A8F; Wed, 16 Mar 2005 10:20:46 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.tewisoft.de (Postfix) with ESMTP id 535BC36CE4; Wed, 16 Mar 2005 10:20:33 +0100 (CET) Received: from tewisoft.de (shell10.tewisoft.de [192.168.20.120]) by mail.tewisoft.de (Postfix) with ESMTP id 0803636CDA for ; Wed, 16 Mar 2005 10:20:33 +0100 (CET) Message-ID: <4237FA60.7090105@tewisoft.de> Date: Wed, 16 Mar 2005 10:20:32 +0100 From: Thomas Vandahl User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: de-de, en-us MIME-Version: 1.0 To: Apache Torque Developers List Subject: Re: merge Object.vm and ObjectwithManager.vm References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS snapshot-20020531 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on mail.tewisoft.de X-Spam-Level: X-Spam-Status: No, score=-109.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, J_CHICKENPOX_62,USER_IN_WHITELIST,USER_IN_WHITELIST_TO autolearn=ham version=3.0.2 X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.16; AVE: 6.30.0.7; VDF: 6.30.0.31; host: mail.tewisoft.de) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thomas Fischer wrote: > by the effort of Thomas Vandahl, the templates Object.vm and > ObjectWithManager.vm are in sync once again. If one compares these two > templates now, there are very little differences. In my opinion, this > situation should be used to merge the two templates into one, thus reducing > the need to keep the two in sync manually. When I went through the code, this was my first intention as well. As you know, I use the manager code including JCS caching. If torque.objectIsCaching is true, the objects keep their collections in the cache as well. This is bad because you need to invalidate the whole object with all collections if only one of the objects in a collection is modified. So my idea was to add a MethodResultCache for every collection including all necessary listeners to the ObjectWithManager code. For that reason I would rather not merge the two files. Bye, Thomas. --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org