persistence@glassfish.java.net

Re: how to configure different orm.xml files

From: <Jordan_at_ThompCo.com>
Date: Wed, 2 Jan 2008 13:42:05 -0500

how can I unsubscribe from this list?

On 1/2/08, Johannes Hoehne <rt30_at_retail-sc.com> wrote:
> Hi,
> we use the same EAR file for different servers. Each server uses a
> different data base schema. As it is no problem to use different databases
> with no extra configuration (different targets of the jndi name) it is not
> possible to use different schemes. At the moment we tell the server by
> system property the name of the configuration file of our (old fashion)
> persistence framework. So we can deploy all the different configuration
> files within one EAR.
> So far so good but we want to use JPA now. Is there any possibility to
> redirect the file name of the orm.xml. Maybe be an (jndi) property in the
> ebj-jar.xml?
> Please help
>
> Thanks
>
> Johannes Hoehne
> --
> RSC Commercial Services OHG
> Wanheimer Strasse 70, D-40468 Duesseldorf
> Registergericht: Duesseldorf, HRA 12655
>
>


-- 
Jordan R. Thompson
Jordan_at_ThompCo.com
www.ThompCo.com