Re: Cayenne Mapping fileS

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri Dec 30 2005 - 13:12:26 EST

  • Next message: Andrus Adamchik: "Re: cache synchronization"

    I am not ready to comment on the 1.3 direction, other than that we
    are trying to simplify and streamline what's already possible now.

    Still Cayenne 1.0-1.2 will also happily load *.map.xml files from
    different jars, as long as all of them have different names. The
    caveat is that you shouldn't include cayenne.xml in those jars, and
    instead create a single master cayenne.xml in the application that
    imports the jars (either manually or using "cdeploy" task).

    Andrus

    On Dec 27, 2005, at 8:04 PM, Joel Trunick wrote:
    > The intent is the same, but I'm not sure what the proposed
    > implementation is given the description as written.
    >
    > Not sure it suits everybody's purposes, but I'd want cayenne.xml read
    > from each jar (using ClassLoader.getResources()), or at least
    > extensible
    > so I can do so myself.
    >
    > J
    >
    > -----Original Message-----
    > From: Gentry, Michael (Contractor)
    > [mailto:michael_gentr..anniemae.com]
    >
    > Sent: Tuesday, December 27, 2005 9:35 AM
    > To: cayenne-use..bjectstyle.org
    > Subject: RE: Cayenne Mapping fileS
    >
    > Not simply ...
    >
    > This has been added to the Cayenne 1.3 wish list:
    >
    > http://www.objectstyle.org/confluence/display/CAY/1.3+Wish+List
    >
    > Please note Andrus' comments at the bottom regarding using cdeploy,
    > though.
    >
    > /dev/mrg
    >
    >
    > -----Original Message-----
    > From: Joel Trunick [mailto:joel.trunic..ebifysolutions.com]
    > Sent: Monday, December 26, 2005 3:32 PM
    > To: cayenne-use..bjectstyle.org
    > Subject: Cayenne Mapping fileS
    >
    >
    >
    > Does Cayenne support multiple mapping files? I'd like the ability to
    > have persistent classes in more than one jar, and have their cayenne
    > mappings stored with them in the same jar.
    >
    > Joel
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Fri Dec 30 2005 - 13:12:35 EST