Re: It's a long night..

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Apr 05 2006 - 03:58:33 EDT

  • Next message: Andrus Adamchik: "Re: accessing cayenne sessions"

    Hi Andrea,

    Here is an example of replacing a DataSource:

    http://objectstyle.org/confluence/display/CAY/Setting+Database
    +Connection

    Note that this replaces a shared DataSource of all DataContexts.

    Andrus

    On Apr 5, 2006, at 12:22 AM, Andrea Borgogelli Avveduti wrote:
    > Hi
    > I'm trying to customize the connection configuration but with no
    > results.
    > If I use the config file created by the modeler and the "url value"
    > stored in MyDomainNode.driver.xml the connection to my tables is
    > working right
    >
    > But now I need to change it at runtime from my client application.
    > Is it possible ?
    >
    > Could someone give me a minimal example to build the connection,
    > open the datacontext, the domain, domain nodes and
    > datamaps...please ????
    >
    > thank u all and greetings from Italy
    >
    > Andrea



    This archive was generated by hypermail 2.0.0 : Wed Apr 05 2006 - 03:59:07 EDT