Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 63137 invoked from network); 18 Jun 2007 13:04:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jun 2007 13:04:20 -0000 Received: (qmail 88155 invoked by uid 500); 18 Jun 2007 13:04:23 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 88137 invoked by uid 500); 18 Jun 2007 13:04:23 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 88123 invoked by uid 99); 18 Jun 2007 13:04:23 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jun 2007 06:04:23 -0700 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=HTML_IMAGE_ONLY_08,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [216.252.121.67] (HELO web43137.mail.sp1.yahoo.com) (216.252.121.67) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 18 Jun 2007 06:04:18 -0700 Received: (qmail 56647 invoked by uid 60001); 18 Jun 2007 13:03:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.sg; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=2Az26Pzn4Y0pTxHpLcvWwbjVng+9eFoQl2Gw8seg/aJjnO+GiGSaFyTEi2JmqCEZPMrJoNZtnIZWw7XOIxjNmj6KR3T1n7P8vzhp+wAD6D9WbDJ7skANhADUNBzR+rxE4lByMARAeY3gmDXVZX7fPu7sWUcCPHkckmOOeE7TrNU=; X-YMail-OSG: WYnYhREVM1kotsoxraURjHwTtUm6ErnBug5J1ZC.cRdn2I8kdWF5yB6Pcq3fUDELUfXuV6QCDb4aU0dz29crgIqGm.YwU6kWfe.wlMrxqrXPuXnWqw-- Received: from [202.156.12.12] by web43137.mail.sp1.yahoo.com via HTTP; Mon, 18 Jun 2007 21:03:58 CST Date: Mon, 18 Jun 2007 21:03:58 +0800 (CST) From: yongbl Subject: Common attributes in the model To: user@cayenne.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1429137895-1182171838=:56490" Content-Transfer-Encoding: 8bit Message-ID: <272637.56490.qm@web43137.mail.sp1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-1429137895-1182171838=:56490 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I am new to Cayenne. In many of the models that I am using, there are common attributes like created date, modified date, created by, etc. Is there a right way to add the common attributes, other than manually adding the common attributes in the models? It seems that I can't create a base model with the common attributes, and extend the rest of the models from the base model, right? Regards, James --------------------------------- Yahoo! Movies - Search movie info and celeb profiles and photos. --0-1429137895-1182171838=:56490--