You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Ari Maniatis (JIRA)" <de...@cayenne.apache.org> on 2008/08/21 01:59:11 UTC

[jira] Commented: (CAY-400) Support for user properties of DataMap objects.

    [ https://issues.apache.org/cayenne/browse/CAY-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056#action_13056 ] 

Ari Maniatis commented on CAY-400:
----------------------------------

Another idea for these properties was raised here:

http://markmail.org/message/qckxsaxd5mo2jgbz

That is, defining a property (say "defaultValue") which is then inserted into the entity class by cgen.

> 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: 3.0
>
>
> 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.