I'd say CAY-659 itself is a standalone feature, not a duplicate.
However implementation may use the properties mechanism (i.e. make
"comment" a special property). With this approach CAY-659 is a
dependent of CAY-400... or not if we make it a standalone ivar.
Andrus
On Dec 16, 2008, at 12:21 PM, Malcolm Edgar (JIRA) wrote:
[ 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.