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