Thomas Dudziak wrote:
I tried to pull over an application into the OJB 1.1, but there are lots of
changes between OJB 1.0 and OJB 1.1, and while I managed to reconcile many, I at
the moment stumbled onto one I can't seem to know how to fix.

OJB 1.0 had property ConnectionFactoryClass, I have it set to
ConnectionFactoryAvalonDataSource [1], but seems like OJB 1.1 ignores this
property. What it has been replaced with?


Mhmm, it shouldn't, the setting hasn't been changed. You can have a
look at which connection factory class is instantiated in class
PersistenceConfiguration, line 78.

According to stacktraces I see, it tries to instantiate ConnectionFactoryPooledImpl, and I see that it is mentioned in ContainerHelper:


  ...ensureImplementationClass(ConnectionFactory.class,
                               ConnectionFactoryPooledImpl.class);

So it seems like it does not pick up the value from properties file. Additionally, OJB.properties which I found in OJB 1.1 CVS has no such property as well...

Vadim


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



Reply via email to