RE: change DataNode

From: Gentry, Michael \(Contractor\) ("Gentry,)
Date: Wed Aug 31 2005 - 11:58:57 EDT

  • Next message: Arnaud Garcia: "Re: ordering and path expression"

    If you need simultaneous access, this will do the trick (at least it works for me):

    http://www.objectstyle.org/confluence/display/CAY/Copying+DataMaps

    If you only need to access one (and only one) at a time, given a certain condition, there was a thread on that (I believe by Kevin, but I'd have to go find it) which will also work. Let me know if you need that one.

    /dev/mrg

    -----Original Message-----
    From: Jacek Salacki [mailto:jsalack..oczta.onet.pl]
    Sent: Wednesday, August 31, 2005 11:54 AM
    To: cayenne-use..bjectstyle.org
    Subject: change DataNode

    Im developing an application that should use one of 3 databases, depending on
    situation. Each database use the same map and tables set but differ in
    conection method(one is avaliable in internet, other only in internal
    network, one is avalaible on local computer). I want to give users
    opportunity to chose to which database connect.
    If I understood everything right, I could use 3 DataNodes in one DataDomain.
    How tell cayenne which one of datanodes use?

    -- 
    Jacek Sałacki
    



    This archive was generated by hypermail 2.0.0 : Wed Aug 31 2005 - 11:59:01 EDT