[JIRA] Commented: (CAY-943) Support multiple cayenne.xml files in the project

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Thu Feb 07 2008 - 07:29:32 EST

  • Next message: Andrus Adamchik (JIRA): "[JIRA] Closed: (CAY-337) Link multiple cayenne model into one master cayenne model"

        [ https://issues.apache.org/cayenne/browse/CAY-943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12729#action_12729 ]

    Andrus Adamchik commented on CAY-943:
    -------------------------------------

    Another related issue - the ability to redefine entity listeners (and callbacks?) per project. Often it makes sense to define entity mapping in a common "library" project shared by many applications, but defer listener definitions to individual applications. This way the listeners can have application-specific logic. Currently this is possible to achieve via API, but ideally this should be done via mapping. What this means is the ability to merge two obj-entity definitions into one.

    > Support multiple cayenne.xml files in the project
    > -------------------------------------------------
    >
    > Key: CAY-943
    > URL: https://issues.apache.org/cayenne/browse/CAY-943
    > Project: Cayenne
    > Issue Type: Task
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Reporter: Andrus Adamchik
    > Assignee: Andrus Adamchik
    > Fix For: 3.0
    >
    >
    > We need an ability to seamlessly import mapping "libraries" to Cayenne.
    > A few years ago when we raised this issue, the idea was to create a special DataMap-only project. Currently I am more in favor of a runtime merge approach that can take multiple cayenne.xml files in runtime and merge them into appropriate domains. The details to be hashed out ....

    -- 
    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 : Thu Feb 07 2008 - 07:29:57 EST