cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malcolm Edgar" <malcolm.ed...@gmail.com>
Subject Re: Switching Between Databases
Date Thu, 19 Jul 2007 07:40:48 GMT
Thanks I will give it a try.

regards Malcolm Edgar

On 7/19/07, Andrus Adamchik <andrus@objectstyle.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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message