Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [eclipselink-users] JMX / Getting DB Settings via web interface

Hrm yeah because it is an interface I can’t really get a list of the info and then feed it in…ideally the servlet would be run once the add is up and initialized so that I can grab the various persistence unit info from objects in memmory but I can’t quite get that to work.


From: eclipselink-users-bounces@xxxxxxxxxxx [mailto:eclipselink-users-bounces@xxxxxxxxxxx] On Behalf Of Mike Norman
Sent: Monday, November 19, 2007 5:00 PM
To: EclipseLink User Discussions
Cc: Pelletier,Guy
Subject: Re: [eclipselink-users] JMX / Getting DB Settings via web interface


Vespa, Anthony J wrote:

This is very interesting, thank you.

I am looking for something a bit different – I want to be able to actually get a list of the persistence unit names that I’ve set up in persistence.xml – as well as certain properties (eg the jdbc url, read/write connections etc) – this is more of a general mechanism to check app configuration status from a webpage.



Sounds like you want the javax.persistence.spi.PersistenceUnitInfo's.

Guy - is there an official (or semi-official) way to get a list of PUInfo's?

Oracle Email Signature Logo
Mike Norman | Principal Software Designer | 613.288.4638
Oracle Server Technologies | TopLink Product
45 O'Connor Street, Suite 400 | Ottawa, ON K1P 1A4 | (fax) 613.238.2818

Back to the top