users@glassfish.java.net

is there any way to programmically bootstrap an EntityManager? (JPA)

From: Sarah kho <sarah.kho_at_gmail.com>
Date: Fri, 31 Jul 2009 20:32:05 +0430

Hi
Thank you for reading my post.
Is there anyway to create and configure an Entity Manager programmically?
I need to specify the connection URL manually and during runtime instead of
specifying it in the persistence.xml file.
I am using JPA.
Thanks.