We recently upgraded from ojb 0.9.8 to RC5.
I have a copy/import util which is no longer running. The way it works
is that it connects to the legacy DB using 1 class-description and writes to the new DB using a different class-descriptor.
In between I do some conversion etc. In 0.9.8 I just passed different repository.xml files to the PBKey instance.
This approach does no longer seem to work since the PBKey interface has changed to now contain the connection. This reduces me to a single repository.xml.
How can I use different class-descriptors for the same object in the new ojb version ?
Thanks for any ideas,
S.Schl�sser
p.s. here the exception I received:
Caused by: org.apache.ojb.broker.PBFactoryException: Given PBKey org.apache.ojb.broker.PBKey: jcdAlias=conf/repository_mssql.xml, user=null, password=null does not match in metadata configuration
at org.apache.ojb.broker.core.PersistenceBrokerFactoryBaseImpl.createNewBrokerInstance(Unknown Source)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
