persistence@glassfish.java.net

can you set the persistence-unit data-source at runtime?

From: Nitin Nahata <nitin.nahata_at_gmail.com>
Date: Fri, 20 Oct 2006 16:39:19 -0700

data-source for a persistence-unit is set in the persistence.xml file.
Which means that it should be known at compile time.

Is there a way to set the data-source at runtime instead?

Thanks
Nitin