hi all.
I modified
RepositoryXmlHandler.java to record every collection desc. and reference
desc. a parent class has, so it's child would inhere all this !
Example :
<class-descriptor class="BaseInformationUnit">
<extent-class class-ref="News"/>
<extent-class class-ref="Events"/>
<field-descriptor id="1"
name="id"
column="ID"
jdbc-type="INTEGER"
primarykey="true"/>
<collection-descriptor name="qualifiers"
element-class-ref="Qualifier"
auto-retrieve="true"
auto-update="false"
indirection-table="INFOUNIT_QUALIFIER"
>
<fk-pointing-to-this-class column="INFORMATION_ID"/>
<fk-pointing-to-element-class column="QUALIFIER_ID"/>
</collection-descriptor>
</class-descriptor>
So :
News and Events would inhere a collection called qualifiers pointing to
Qualifier.
Would you like me to commit this changes to ojb ?
--
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e Servicos (IB)
http://www.ibnetwork.com.br
http://jakarta.apache.org/ojb
--
To unsubscribe, e-mail: <mailto:ojb-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ojb-user-help@;jakarta.apache.org>