I am using OpenJPA 1.2.3 on WebSphere with DB2.
I have spent a lot of time trying to figure out if there is a way to build
and bundle my application in a way that allows for the same application
(EAR) to have a changing Schema name based on environment (DEV,ACPT,PROD,
etc).
My PU is setup up to
Michael is correct. This is hidden from me. In an application managed
environment I could configure this when creating my own
EntityManager/Factory, but WAS is taking care of this for me. Thanks.
--
View this message in context:
http://openjpa.208410.n2.nabble.com/change-schema-based-on-environm
I tried setting the currentSchema in the data source options. Does not seem
to have an effect. Thanks.
--
View this message in context:
http://openjpa.208410.n2.nabble.com/change-schema-based-on-environment-tp5901468p5909264.html
Sent from the OpenJPA Developers mailing list archive at Nabble.co
Yes, I did try taking the schema name out of persistence.xml. Does not help.
Thanks.
--Keith
Michael Dick wrote:
>
> Maybe a dumb question, but did you remove the openjpa.jdbc.Schema property
> from persistence.xml? That would override the setting from the datasource
> (as would any annotation