Return-Path: Delivered-To: apmail-cayenne-commits-archive@www.apache.org Received: (qmail 68131 invoked from network); 16 Dec 2008 10:21:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Dec 2008 10:21:33 -0000 Received: (qmail 59609 invoked by uid 500); 16 Dec 2008 10:21:45 -0000 Delivered-To: apmail-cayenne-commits-archive@cayenne.apache.org Received: (qmail 59587 invoked by uid 500); 16 Dec 2008 10:21:45 -0000 Mailing-List: contact commits-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list commits@cayenne.apache.org Received: (qmail 59573 invoked by uid 99); 16 Dec 2008 10:21:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2008 02:21:45 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Dec 2008 10:21:32 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6516F234C3DC for ; Tue, 16 Dec 2008 02:21:12 -0800 (PST) Message-ID: <228316524.1229422872413.JavaMail.jira@brutus> Date: Tue, 16 Dec 2008 02:21:12 -0800 (PST) From: "Malcolm Edgar (JIRA)" To: commits@cayenne.apache.org Subject: [jira] Commented: (CAY-400) Support for user properties of DataMap objects. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/cayenne/browse/CAY-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204#action_13204 ] Malcolm Edgar commented on CAY-400: ----------------------------------- This issue marks CAY-659 as a duplicate (similar to CAY-56), however I think this is different is scope. Having a comments field in the Modeler for entities, attributes and queries is a very useful feature for communicating a schemas local design to other team members. Generally we all write comments in our code, it would be nice to be able to do the same thing in the Modeler. I don't think this is the same a more generic name/value pair concept which is used for some yet to be defined purpose. An example of what I wanted to see in the Modeler is: http://click.sourceforge.net/click-maven-bundle/cayenne-1.2.2.b.zip The reason I am raising this again, is after reviewing the Cayenne 3.0 M5 release which is pretty awesome, adding comments is a pretty simple change to the Modeler UI which adds a lot of value in development teams regards Malcolm Edgar > Support for user properties of DataMap objects. > ----------------------------------------------- > > Key: CAY-400 > URL: https://issues.apache.org/cayenne/browse/CAY-400 > Project: Cayenne > Issue Type: New Feature > Components: Cayenne Core Library, CayenneModeler GUI > Affects Versions: 3.0 > Reporter: Andrus Adamchik > Assignee: Ari Maniatis > Fix For: Short term future > > > We need to support user defined properties attached to > * Entities > * Attributes > * Relationships > (Obj and Db). This feature is similar to JDK 1.5 annotations. > Basic support: > * allow to enter string key/value pairs in the Modeler and save them in XML. > * Just like with JVM annotations implement some logic to load annotations conditionally. > Ideas for using this info in Cayenne: > * Attach DB comments on reverse-engineer > * Use certain keys to generate Javadocs during class generation > * Use certain keys to generate JDK 1.5 annotations during class generation. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.