replying to my own email... On Sat, 8 Dec 2001, Dmitri Colebatch wrote:
> <!-- > The foreign-key-field element declared the configuration of a foreign > key. The field-name element must match the field-name of one of the > primary key fields of the related element. This is similar to the > REFERANCES clause of a SQL foreign key declaration. > --> > <!ELEMENT foreign-key-field (field-name, > ((column-name, (jdbc-type, sql-type)?) | (property*)) > )> > > ok, if I had've read that I should've known that... time to spend a bit > more time in the dtd methinks.... but... ok... I cant see what the property* element is for. Say we have your Application-Asset relationship, and instead of simple pks, we have the following structure: Application ( vendor:String, majorVersion:int, minorVersion:int, name:String, assets:Collection) Asset ( id:int, application:Application) so the application pk is complex of vendor, majorVersion and minorVersion. to fit the above dtd, we _must_ either provide the column name (why? cant we get this from elsewhere), or 0 or more properties... ok 0 is fine, but I cant see where I would actually provide more... unless its something to do with DVC...? I'm going to proceed on the assumption that I never use the property element. on another note, would Dain be in a better position to answer some of these than you? Should I crosspost to jboss-dev? cheers, and thanks for your help dim _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
