On Thu, 10 Jun 2004, Bradford Pielech wrote: > Tom: > > Thanks for the answer, but I am still confused- when you say to > specify the inverse foreign key, do you mean to use the remote-foreignkey > attribute?
Yup, that's the one. Sorry for the confusion, in the repository it's called inverse foreignkey (but I prefer remote foreignkey for the tags because that's IMO easier to understand). > This doesn't make sense to me because the parent and children > collection is explict and I get this error: > > -------- > [ojbdoclet] Caused by: xdoclet.XDocletException: The remote-foreignkey > property specified for collection children in class > com.alphatech.ebo.datamodels.SimpleDAGNode > doesn't match the foreignkey property of the corresponding collection > children in class com.alphatech.ebo.datamodels.SimpleDAGNode > -------- Now this is a slightly different error caused by the same thing: the XDoclet module will (currently) simply take the first collection in the element class that it finds. After I fixed that, your changed Java code will work (I'll have a look at it today). Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
