Prev: Forking Inputstream: Am I missing something
Next: Constructing an object from a superclass object
From: Biagio on 17 Mar 2010 09:10 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 19 Mar 2010 09:12 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")
|
Pages: 1 Prev: Forking Inputstream: Am I missing something Next: Constructing an object from a superclass object |