Mindy Pereira wrote:

I have attempted your suggestion:

In C's class descriptor:

        <reference-descriptor name="super" class-ref="A"
auto-update="true">
      <foreignkey field-ref="mId" />
    </reference-descriptor>

In A's class descriptor:
<extent-class class-ref="C" />

However, I still receive the error message: Caused by: org.apache.ojb.broker.metadata.MetadataException: Class A is
not a superclass of class C
Preventing ojb from loading repository.xml and starting up


Could I be missing something else?

My mistake, extent-class does not work in this case.

Could you by any chance create a full data model showing your problem (e.g. classes A, B, C) and post the Java classes and the repository_user.xml file? We can then create a unit test from it and see whether its an error in OJB, or if you try something that won't work.

Tom


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



Reply via email to