[ 
https://issues.apache.org/jira/browse/CAY-56?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12708129#action_12708129
 ] 

Robert Zeigler commented on CAY-56:
-----------------------------------

4 is a definite must, imo.
It would be /so/ nice if we could have specialized forms of comments, or some 
way of describing /how/ to apply them (eg: javadocs, annotations, etc.), but, 
maybe that's too much to ask. :)
Although.... we could do somthing as simple as: comments on db entitites are 
applied to the db; comments on obj entities are applied to the java class.  At 
least for the java class, comments could be output raw.  So I could add a 
comment that looks like: 
@DefaultOrder({"a","b","c"})

to the obj entity and that would be applied directly to the java class. Just a 
thought; then the comments are very generic, from cayenne's perspective, but 
still useful directly by, eg, java.



> Comments for entities, attributes and relationships
> ---------------------------------------------------
>
>                 Key: CAY-56
>                 URL: https://issues.apache.org/jira/browse/CAY-56
>             Project: Cayenne
>          Issue Type: New Feature
>          Components: Cayenne Core Library, CayenneModeler GUI
>    Affects Versions: 3.0M5
>         Environment: All
>            Reporter: Jim Menard
>            Assignee: Andrey Razumovsky
>             Fix For: Short term future
>
>
> It would be nice to be able add a comment or description to every attribute 
> and relationship, both for data entities and object entities. The comment 
> could not only be stored in cayenne.xml but could also be output to the Java 
> code of the object entities. I seem to remember that some databases also 
> support comments for tables and perhaps even columns.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to