Armin Waibel schrieb:

i want to change dynamicly the location of the database Server, what is describe in "repository.xml"


you can find some suggestion about metadata handling here
http://db.apache.org/ojb/docu/guides/metadata.html

Hi,

first, thanks for your answer.
I have try some things from the web site.
it is not exactly what i wish. I want to chnage only 4 things: the user, the password, the database and the Server (of the database) only one time: at startup. I read the my "new" settings from an user "ini" file. The "repository.xml" file cant be changed.

If i add "PersistenceBrokerFactory.createPersistenceBroker(myNewPbKey)" then at a second time, this class cant be called.
I get then an error "Found duplicate connection descriptor ...".
How can i use an existing "pbKey" ? (can i switch to it ?)

Hans

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

Reply via email to