[JIRA] Created: (CAY-529) Algorithm for merging ORM mapping data coming from different sources

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Mon Apr 24 2006 - 04:44:40 EDT

  • Next message: Andrus Adamchik (JIRA): "[JIRA] Created: (CAY-530) JpaEntityMap -> DataMap converter, PersistenceUnitInfo -> DataDomain converters"

    Algorithm for merging ORM mapping data coming from different sources
    --------------------------------------------------------------------

             Key: CAY-529
             URL: http://issues.apache.org/cayenne/browse/CAY-529
         Project: Cayenne
            Type: Task

      Components: Cayenne JPA
        Versions: JPA 1.0
        Reporter: Andrus Adamchik
         Fix For: JPA 1.0

    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.

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators:
       http://issues.apache.org/cayenne/secure/Administrators.jspa
    -
    For more information on JIRA, see:
       http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Mon Apr 24 2006 - 04:45:54 EDT