Bart Molenkamp wrote:
Hi,
Is is possible to set a ConnectionFactory at runtime instead of defining a class in OJB.properties? I need to create the ConnectionFactory instance myself, and then need to tell OJB that it should use that connection factory.
Never tried this before. Should be possible if you call
fac = ConnectionFactoryFactory.getInstance(); // this override the class set by OJB.properties fac.setClassToServe(factory);
before the first PB instance is created.
regards, Armin
Thanks, Bart.
--------------------------------------------------------------------- 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]
