persistence@glassfish.java.net

choosing persistence unit at runtime?

From: jeff <jeffrey.blattman_at_yahoo.com>
Date: Tue, 27 Feb 2007 13:23:33 -0800 (PST)

if i am using java persistence stand alone, am i able to choose the persistence unit at runtime?

i can't see how to do this, because it appears that the persistence.xml file is read from the classpath.

any ideas?
thanks.



 
---------------------------------
The fish are biting.
 Get more visitors on your site using Yahoo! Search Marketing.