You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Jörg von Frantzius (JIRA)" <ji...@apache.org> on 2009/04/07 18:20:13 UTC

[jira] Created: (JDO-627) Tests for One-Many-Bidir with join table mapping

Tests for One-Many-Bidir with join table mapping
------------------------------------------------

                 Key: JDO-627
                 URL: https://issues.apache.org/jira/browse/JDO-627
             Project: JDO
          Issue Type: Improvement
          Components: tck2
            Reporter: Jörg von Frantzius


Currently the tests for bidirectional relationship management of One-Many relationships seem to get tested only with a mapping of the relationship to a FK in the element table. We do think so since there is a related bug in datanucleus that goes undiscovered by the TCK (see http://www.datanucleus.org/servlet/jira/browse/NUCCORE-246 for details).

The question would be: should the TCK test for both kinds of mapping of a One-Many relationship?



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JDO-627) Tests for One-Many-Bidir with join table mapping

Posted by "Andy Jefferson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JDO-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696600#action_12696600 ] 

Andy Jefferson commented on JDO-627:
------------------------------------

The TCK should test the full range of relations since, after all, it is the proof that an implementation handles what the spec defines.

> Tests for One-Many-Bidir with join table mapping
> ------------------------------------------------
>
>                 Key: JDO-627
>                 URL: https://issues.apache.org/jira/browse/JDO-627
>             Project: JDO
>          Issue Type: Improvement
>          Components: tck2
>            Reporter: Jörg von Frantzius
>
> Currently the tests for bidirectional relationship management of One-Many relationships seem to get tested only with a mapping of the relationship to a FK in the element table. We do think so since there is a related bug in datanucleus that goes undiscovered by the TCK (see http://www.datanucleus.org/servlet/jira/browse/NUCCORE-246 for details).
> The question would be: should the TCK test for both kinds of mapping of a One-Many relationship?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (JDO-627) Tests for One-Many-Bidir with join table mapping

Posted by "Michelle Caisse (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JDO-627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michelle Caisse reassigned JDO-627:
-----------------------------------

    Assignee: Michelle Caisse

> Tests for One-Many-Bidir with join table mapping
> ------------------------------------------------
>
>                 Key: JDO-627
>                 URL: https://issues.apache.org/jira/browse/JDO-627
>             Project: JDO
>          Issue Type: Improvement
>          Components: tck2
>            Reporter: Jörg von Frantzius
>            Assignee: Michelle Caisse
>
> Currently the tests for bidirectional relationship management of One-Many relationships seem to get tested only with a mapping of the relationship to a FK in the element table. We do think so since there is a related bug in datanucleus that goes undiscovered by the TCK (see http://www.datanucleus.org/servlet/jira/browse/NUCCORE-246 for details).
> The question would be: should the TCK test for both kinds of mapping of a One-Many relationship?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JDO-627) Tests for One-Many-Bidir with join table mapping

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JDO-627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12697498#action_12697498 ] 

Craig Russell commented on JDO-627:
-----------------------------------

This (bidirectional test with join table mapping) is an appropriate test suite to add to the TCK. Best to reuse the existing tests and add a configuration. Volunteers?

> Tests for One-Many-Bidir with join table mapping
> ------------------------------------------------
>
>                 Key: JDO-627
>                 URL: https://issues.apache.org/jira/browse/JDO-627
>             Project: JDO
>          Issue Type: Improvement
>          Components: tck2
>            Reporter: Jörg von Frantzius
>
> Currently the tests for bidirectional relationship management of One-Many relationships seem to get tested only with a mapping of the relationship to a FK in the element table. We do think so since there is a related bug in datanucleus that goes undiscovered by the TCK (see http://www.datanucleus.org/servlet/jira/browse/NUCCORE-246 for details).
> The question would be: should the TCK test for both kinds of mapping of a One-Many relationship?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.