Hi,

please see
http://db.apache.org/ojb/faq.html#Connect%20to%20database%20at%20runtime?

or more detailed in new upcoming docu
http://www.powaibel.de/ojb/ojb-style/docu/metadata.html#connect-at-runtime

regards,
Armin

Sebastian wrote:

Hi,

is it possible to generate a persistence broker during runtime based on a JDBC URL?

I know that I can use
PersistenceBrokerFactory.createPersistenceBroker("jcd-alias, "user", "pw");
to connect to a predefined connection with a certain username and password.

In my case I have to readin a jdbc url string from a separate property file and somehow create a persistence broker.

thanks in advance!

Sebastian


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to