Hi Thomas
You are right, it is much better.
I will try and give you result tomorrow, now it is late in Cyprus.
Thank you for your help.
Andre
Thomas Dudziak wrote:
A Leg wrote:
Hi Thomas.
In fact setClassLoader is not usable.
As ClassLoader is used inside the first call to OJB :
PersistenceBrokerFactory.defaultPersistenceBroker();
Which use it to load Configuration and Logger elements.
So when you have conflict between OJB ClassLoader and your
application ClassLoader ....
Hmm, why would that prevent you from using setClassLoader ?
// this should be the very first call
ClassHelper.setClassLoader(myClassLoader);
// because of this call logging and OJB will get initialized (lazy
initialization)
broker = PersistenceBrokerFactory.defaultPersistenceBroker();
Since ClassHelper does not use logging or OJB's properties, there
should be no interference!
Tom
---------------------------------------------------------------------
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]