openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mjdenham <>
Subject How to get database information
Date Thu, 09 Jul 2009 14:35:28 GMT


Is there an easy way to dynamically find the database name and schema name
being used by an EntityManager at runtime?

We are using OpenJpa 1.0.4 on Websphere and an Oracle datasource.

We would like to make the information accessible on an application screen
because we have so many environments - dev, test, uvt, uat, integration that
it gets confusing to know which database a tester is using.

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message