Em Qua, 2002-04-24 �s 07:11, Ingo Bruell escreveu:

> But i saw in the dtd from jboss, that the <foreign-key-mapping/> is
> optional and is used if a foreign key should be used. But if you want
> use no foreign keys this tag should be omitted.

You can use two elements for relation mapping: <foreign-key-mapping/> or
<relation-table-mapping/>. You neither is present, the default is used
(which is configure in <defaults/> element, and is usually
<foreign-key-mapping/>).

Bear in mind that there is no relation without a relation mapping. You
will need either a foreign key or a relation table. xDoclet uses foreign
key mapping for 1-1 or 1-n relationships, and relation tables for n-m
relationships.

> I am using xdoclet1.1.2

If you can, take a look at current CVS code. I've put some work on
JBossCMP support and everything shoud be fine now. Also, there is a
jboss-specific sample demonstrating the use of all jboss (and value
objects) tags.

-- 
Ja ne,
   Pazu
   mailto: [EMAIL PROTECTED]

Anime Gaiden: de f�s para f�s, sempre.

Attachment: signature.asc
Description: PGP signature

Reply via email to