Hi All!
I specify auto-delete=true in my collection descriptor
/**
* @ojb.collection
element-class-ref="com.esaya.webmail.datamodel.folder.mail.EmailMessage"
foreignkey="mailFolderId"
* database-foreignkey="false" proxy="true"
collection-class="org.apache.ojb.broker.util.collections.ManageableArrayList"
* auto-delete="true" auto-update="false" proxy="true"
*/
private List content;
and generate database schema using Xdoclet
<ojbdoclet destdir="${torque.output.dir}" checks="basic">
<fileset dir="${outputDatabaseOjbJava}"/>
<ojbrepository
destinationFile="OJB-repository-types.xml" verbose="true"/>
<torqueschema databaseName="${pom.groupId}"
destinationFile="${torque.project}-schema.xml"/>
</ojbdoclet>
but got the following
<foreign-key foreignTable="FOLDER">
<reference local="MAIL_FOLDER_ID" foreign="ID"/>
</foreign-key>
so attribute onDelete="cascade" isn't genereted or I miss something
can somebody help?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]