db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Dudziak (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (OJB-67) Add a new check to the xdoclet module to avoid weird mapping errors of one-to-many relationships
Date Wed, 10 Aug 2005 23:16:35 GMT
     [ http://issues.apache.org/jira/browse/OJB-67?page=all ]

Thomas Dudziak reassigned OJB-67:
---------------------------------

    Assign To: Thomas Dudziak

> Add a new check to the xdoclet module to avoid weird mapping errors of one-to-many relationships
> ------------------------------------------------------------------------------------------------
>
>          Key: OJB-67
>          URL: http://issues.apache.org/jira/browse/OJB-67
>      Project: OJB
>         Type: Improvement
>     Versions: 1.0.3
>  Environment: OJB 1.0.3
>     Reporter: Guillaume Laforge
>     Assignee: Thomas Dudziak

>
> I had a weird transaction problem, where I couldn't manage to store a one-to-many relationship
within a transaction.
> This was quite misleading, because in fact, that was just a mapping problem.
> I mistakenly used both foreignkey and remote-foreignkey pointing at the same column,
though the remote-foreignkey wasn't needed since that was a one-to-many relationship and not
a many-to-many relationship.
> So the idea would be to add a sanity check to verify that you can't have both foreignkey
and remote-foreignkey attributes pointing at the same column.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message