Handling multiple databases using Cayenne+Spring

From: Sudheer (sudheer.tec..mail.com)
Date: Tue Apr 06 2010 - 06:17:03 EDT

  • Next message: Andrus Adamchik: "Re: Handling multiple databases using Cayenne+Spring"

    Hi,

    Our existing implementation uses Spring. Application creates a Connection
    object for each login user and keeps the object in session unitl user
    logoff/session timeout. Now we are plugging part of implementation with
    Cayenne.

    If we create DataContext for user session, does each user session have two
    Connection objects?

    Is there a way to use existing Connection object while creating a
    DataContext?

    Any sample Cayenne code detailing access to multiple databases (E.g. Oracle,
    SQL Server) that uses same schema? (on spring+cayenne)

    Thank You,
    Sudheer

    -- 
    View this message in context: http://n3.nabble.com/Handling-multiple-databases-using-Cayenne-Spring-tp699967p699967.html
    Sent from the Cayenne - User mailing list archive at Nabble.com.
    



    This archive was generated by hypermail 2.0.0 : Tue Apr 06 2010 - 06:18:05 EDT