Re: Multiple cayenne.xml files

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri May 15 2009 - 08:16:47 EDT

  • Next message: stefcl: "Re: Big selects on PostGres : Configuring Statement.setFetchSize() of a selectquery"

    There was a related discussion on that a few days ago:

    http://markmail.org/message/r77w2olwd5dhnobg

    In short - merging multiple cayenne.xml files into one *automatically*
    is not supported. So you'd can create correct versions of cayenne.xml
    for each deployment manually or assemble domains from components in
    the code.

    Andrus

    On May 14, 2009, at 11:56 AM, Steve Wells wrote:

    > Hi group,
    >
    > Is it still true that only a single cayenne.xml file is allowed?
    >
    > If multi is now allowed are there any pointers on how to get this
    > going?
    >
    > Our use case is that of deploying a couple of common domains from one
    > cayenne.xml and then domain per other cayenne.xml that is specific to
    > getting data from a particular database/endpoint for different
    > deployments.
    > The specific domains are each deployed in their own project/jar and
    > could
    > then be separately tested and deployed.
    >
    > Thanks,
    >
    > Steve



    This archive was generated by hypermail 2.0.0 : Fri May 15 2009 - 08:17:23 EDT