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

Algorithm for merging ORM mapping data coming from different sources

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • JPA 1.0
    • JPA 1.0
    • None
    • None

    Description

      We already have XML and annotation loaders of mapping info. We need to finish implementation of the skeleton combined loader - EntityMapLoader - that merges multiple JpaEntityMaps together and applies defaults. Algorithm is roughly the following:

      1. load all ORM descriptors and merge them together
      2. load annotations for all mentioned classes
      3. merge combined ORM descriptor with the annotated descriptor, overriding annotation values.
      4. set defaults

      See TODO notes under EntityMapLoader and JpaEntityMap - these are the missing pieces.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: