I am using the xdoclet ojb module to generate an ojb repository and a torque
schema.  The problem that I am running into is that the foreign key
reference constraints are not generated for collections.  My persistent
collections are only implementing 1:n associations.  The foreign key
reference constraints are generated for references.  Am I doing something
wrong?
 
    /**
     *  The collection of BioAssays for this Experiment.
     *  
     * @ojb.collection
element-class-ref="gov.nih.niehs.cebs.domain.BioAssay.BioAssay"
     *
collection-class="gov.nih.niehs.cebs.domain.Interface.HasBioAssays$BioAssays
_list"
     *
foreignkey="experimentId"
     *
auto-update="true"
     *
auto-delete="true"
     *
orderby="id=DESC"
     */

Reply via email to