Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-400

Support for user properties of DataMap objects.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 3.0
    • None
    • Core Library, Modeler
    • None

    Description

      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.

      Attachments

        1. patch_2009-5-28
          63 kB
          jackCHEN
        2. cayenne-modeler-patch-2009-6-5
          32 kB
          jackCHEN
        3. cayenne-jdk1.5-patch-2009-6-5
          69 kB
          jackCHEN

        Issue Links

          Activity

            People

              ari Ari Maniatis
              andrus Andrus Adamchik
              Votes:
              10 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: