From: Biagio on
Hi,

I'm using eclipselink in the same application for two databases: mysql
and postgres.

Postgres require:

@Table(name = "clienti", catalog = "provadb", schema = "public")

mysql

@Table(name = "clienti", catalog = "provadb", schema = "")

How to change the XML (or source code) to custom the schema value in
the application?

Thanks

Biagio
From: Biagio on
On 17 Mar, 14:10, Biagio <softw...(a)notario.it> wrote:
> Hi,
>
> I'm using eclipselink in the same application for two databases: mysql
> and postgres.
>
> Postgres require:
>
> @Table(name = "clienti", catalog = "provadb", schema = "public")
>
> mysql
>
> @Table(name = "clienti", catalog = "provadb", schema = "")
>
> How to change the XML (or source code) to custom the schema value in
> the application?
>
> Thanks
>
> Biagio

Solved !!!!

The code works fine with:

@Table(name = "clienti")