The extent-class tag specifies the persistent subclasses of a class. So if
you have class A, class B as a subclass of A, and class C as a subclass of
B, then you would write:

<class-descriptor class="A">
  <extent-class class-ref="B"/>
</class-descriptor>

<class-descriptor class="B">
  <extent-class class-ref="C"/>
</class-descriptor>

<class-descriptor class="C">
</class-descriptor>

Note that this other way around from how you specify it in Java
(class C extends B, class B extends A). For details see the tutorial at
http://db.apache.org/ojb/tutorial3.html#extents%20and%20polymorphism.

Tom


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

Reply via email to