Hello Patrick, > -----Original Message----- > From: Patrick Scheuerer [mailto:[EMAIL PROTECTED]
> My first question is: since there are many-to-many > relatioships between > DOCUMENT and CATEGORY and DOCUMENT and KEYWORDS there are two > join tables > called DOCUMENT_CATEGORY and DOCUMENTS_KEYWORD. How does one your repository_xml says: indirection-table="document_keyword". typo? (missing 's'); > handle join tables needed by many-to-many in OJB? see .../db-ojb/src/test/org/apache/ojb/repository_junit.xml usage of 'indirection-table', e.g. Person <-> Role > far. Every time > I'm trying to save object to the datastore or try to retrieve > them I get a > org.apache.ojb.broker.metadata.ClassNotPersistenceCapableExcep > tion with the > following message: java.util.ArrayList not found in OJB Repository. > Somebody suggested yesterday to use a List instead of a > Vector (I tried Vectors first) but the result is the same. You mean that you declare the collection of type java.util.List and OJB complains that java.util.ArrayList is not persistence-capable? I do not believe that. I suggest that you compare your classes with the ones in OJB's junit tests. If you do not find the error, please post also your pc classes source code. Olli -- Oliver Matz ppi Media GmbH Deliusstra�e 10 D-24114 Kiel phone +49 (0) 43 1-53 53-422 fax +49 (0) 43 1-53 53-2 22 email mailto:[EMAIL PROTECTED] web www.ppi.de Explore your printnet! DRUPA 2004 D�sseldorf, Germany, 6 - 19 May 2004, Booth 6E62 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
