You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by "Andrus Adamchik (JIRA)" <de...@cayenne.apache.org> on 2007/12/18 22:06:43 UTC

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

     [ https://issues.apache.org/cayenne/browse/CAY-529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrus Adamchik closed CAY-529.
-------------------------------

    Resolution: Won't Fix

while the problem of correct merging of mapping from different sources is not fully solved, this Jira is obsolete... we'll need to perform new analysis based on the existing design

> Algorithm for merging ORM mapping data coming from different sources
> --------------------------------------------------------------------
>
>                 Key: CAY-529
>                 URL: https://issues.apache.org/cayenne/browse/CAY-529
>             Project: Cayenne
>          Issue Type: Task
>          Components: Cayenne JPA
>    Affects 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.
-
You can reply to this email to add a comment to the issue online.