users@glassfish.java.net

Re: Can I access the PersistenceUnitInfo?

From: <forums_at_java.net>
Date: Thu, 17 Nov 2011 17:39:36 -0600 (CST)

Hello Marina,

I would like to get (at runtime) information about values provided in the
persistence.xml (i.e. the jta-data-source JNDI location). I've recently read
a user's post in the StackOverflow
(http://stackoverflow.com/questions/8010083/how-do-i-tell-if-my-entitymanager-is-using-jta-or-resource-local-datasource)
and just thought of PersistenceUnitInfo - I just wonder if it's possible.

Regards,


--
[Message sent by forum member 'PedroKowalski']
View Post: http://forums.java.net/node/865039