Re: Double Model in frameworks and application

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Mar 14 2006 - 03:13:39 EST

  • Next message: Andrus Adamchik: "Re: Double Model in frameworks and application"

    Don't put cayenne.xml in the shared libraries (jars, frameworks).
    Only include the DataMap XML files in there. Then create one
    cayenne.xml per application that lists needed DataMaps (including
    those from shared libs). You can create such app-level cayenne.xml
    manually (just use the one generated by the modeler as a template),
    or you can assemble a shared Configuration instance straight in the
    code (without cayenne.xml).

    Andrus

    On Mar 14, 2006, at 3:08 AM, WONDER wrote:
    > In Short,
    > One Application can have only one Cayenne Model.
    > Ok. What about framewokrs? not allowed to have thier Cayenne Model(s)?
    >
    > Sako.



    This archive was generated by hypermail 2.0.0 : Tue Mar 14 2006 - 03:13:52 EST