Re: Switching Between Databases

From: Malcolm Edgar (malcolm.edga..mail.com)
Date: Thu Jul 19 2007 - 03:40:48 EDT

  • Next message: Andrus Adamchik: "Re: Cayenne Query trivia"

    Thanks I will give it a try.

    regards Malcolm Edgar

    On 7/19/07, Andrus Adamchik <andru..bjectstyle.org> wrote:
    >
    >
    > > My concern it that the
    > > schema name is defined in the cayenne mapping file.
    >
    > AFAIK MySQL schema is the same as "database name" part of the URL, so
    > use an empty schema and change connection URL.
    >
    > Andrus
    >
    >
    >
    > On Jul 19, 2007, at 5:23 AM, Malcolm Edgar wrote:
    >
    > > Hi All,
    > >
    > > what is an easy way to switch between databases in Cayenne, while
    > > maintaining the same mapping file.
    > >
    > > We are going on the road doing demos, with different MySQL
    > > databases (same
    > > schema design), and want to be able to switch between them with the
    > > same
    > > application. Is there an way to do this is Cayenne. My concern it
    > > that the
    > > schema name is defined in the cayenne mapping file.
    > >
    > > Any ideas?
    > >
    > > regards Malcolm Edgar
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Jul 19 2007 - 03:41:16 EDT