openjpa-users mailing list archives

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

Hi,

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.

Thanks
Martin
-- 
View this message in context: http://n2.nabble.com/How-to-get-database-information-tp3231794p3231794.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message