You can use the ojb.reference tag in the class' javadoc comment only
for one purpose: stating the super reference (the name attribute is
ignored, though I think I should add an error message if it is in
place and specifies something different than 'super') which is used
for mapping hierarchies to multiple tables (see
http://db.apache.org/ojb/docu/guides/advanced-technique.html#Extents+and+Polymorphism
for details).

Depending on whether you want to have the reference descriptor in the
class descriptor of Document you either have to specify a getter
and/or setter in this interface and specify the ojb.reference tag in
its javadoc comment (this also requires you to change the
PersistentFieldClass in OJB.properties to introspector or autoproxy).
Or, since there probably is no reason to have this reference in the
class descriptors for the interfaces, you simply put the ojb.reference
tag into the javadoc comment of the corresponding field in
ConcreteSubtypeOfDocument.

Tom

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

Reply via email to