On 8/10/05, Guillaume Laforge <[EMAIL PROTECTED]> wrote:

> I hesitate to reveal the truth and expose how stupid I must be... but
> still... I think I've found the source of my problem. It seems as if
> it were a mere mapping issue!
> 
> What a pity the messages are so misleading... I guess some sanity
> checker is in order so that we can compare a mapping and a database's
> schema (hint, hint Brian!).
> 
> In my mapping, it seems like I had configured a many-to-many
> relationship, though what I really had was a simple one-to-many
> relationship: I had a foreignkey AND remote-foreignkey in my xdoclet
> tags pointing at the same column. Though obviously the
> remote-foreignkey wasn't needed at all.

If you add a JIRA feature request for the XDoclet module with some
sample code/mapping, I enhance the module so that it produces a
warning for such cases.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to