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

From: Ari Maniatis (JIRA) ("Ari)
Date: Wed Aug 20 2008 - 19:59:11 EDT

  • Next message: Kevin Menard (JIRA): "[jira] Commented: (CAY-671) custom exception class for ROP missing session"

        [ 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.
    



    This archive was generated by hypermail 2.0.0 : Wed Aug 20 2008 - 20:00:13 EDT