Re: setting database connection information for deployed application

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Mar 22 2005 - 17:16:01 EST

  • Next message: Stas Pietrucha: "Re: setting database connection information for deployed application"

    Or you can use cdeploy Ant task to repackage your jar for deployment with
    the right URL:

    http://www.objectstyle.org/cayenne/userguide/deploy/cdeploy.html

    Andrus

    > Maybe these will help...
    >
    > http://www.objectstyle.org/cayenne/lists/cayenne-user/2004/09/0049.html
    > http://www.objectstyle.org/cayenne/lists/cayenne-user/2004/09/0056.html
    > http://www.objectstyle.org/cayenne/lists/cayenne-user/2005/01/0141.html
    >
    >
    > ----- Original Message -----
    > From: "Stas Pietrucha" <sta..ac.com>
    > To: <cayenne-use..bjectstyle.org>
    > Sent: Tuesday, March 22, 2005 3:16 PM
    > Subject: setting database connection information for deployed
    > application
    >
    >
    >> I have searched the docs and read through examples and API but I am
    >> still having trouble wrapping my head around this.. While I'm
    >> developing my app (Cocoa-Java on OS X) I have my model set up with the
    >> hsqldb driver connecting to a JDBC url for the database running in
    >> server mode. When I deploy my application, the same database will be
    >> running in embedded mode which requires a different JDBC url. What is
    >> the preferred way to accomplish this?
    >>
    >> Thank you,
    >> Stas Pietrucha
    >>



    This archive was generated by hypermail 2.0.0 : Tue Mar 22 2005 - 17:16:03 EST