Hmm, I haven't tested all cases, you might have found a misfeature.  If
reverse visibility is not present, you need to have the ejb:target-relation
tag, which provides the information of the missing target ejb:relation tag.
There shouldn't be a case where the information of the target relation cannot
be supplied, since the <jboss> task uses the internal representation of the
relation, not which tags it found the information about the relation from.
Does that make sense? 

If there is something that you feel you have to add to the unwanted target
ejb:relation tag to get the jboss-jdbc to generate properly, see if those
same fields can be moved to the source ejb:target-relation tag and remove the
target ejb:relation tag.  If things don't work, it's a bug, please submit a
report and attach a couple of tagged classes that exhibit the behavior.

best,

-b

> -----Original Message-----
> From: Colin Canfield [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, December 15, 2002 6:59 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Xdoclet-user] target-relation ?
> 
> 
> One quick point which I'm still not clear about. At the end 
> of your summary
> you mentioned that reverse visability isn't required in the 
> ejb:relation
> tag. This is what I thought should occur but in reality when 
> the reverse
> visability is not present (or at least the reverse 
> ejb:relation tag), the
> reverse role name is not placed in the jboss-jdbc config file, causing
> deployment to fail. I have no idea what would happen with 
> other containers ?
> 
> Thanks, Colin
> 
> 
> 
> n:n and n:1 relations are the easy cases, because the source 
> entity contains
> the foreign key of the related entity.  Whether or not there 
> is reverse
> visibility is irrelevant to XDoclet since it has all the 
> information it
> needs
> about the relation in the ejb:relation tag.
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:
> With Great Power, Comes Great Responsibility 
> Learn to use your power at OSDN's High Performance Computing Channel
> http://hpc.devchannel.org/
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to