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 annotations in your entities).

Failing that it might be worth getting a JDBC connection directly to see
whether it's OpenJPA or the DataSource that isn't passing the right
information along.

-mike

On Mon, Jan 10, 2011 at 7:04 PM, keitea <kei...@vsp.com> wrote:

>
> 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.com.
>

Reply via email to