GitHub user tomatophantastico opened a pull request:

    https://github.com/apache/metamodel/pull/149

    Feature/jdbc composite relations

    A fix for METAMODEL-1145.
    
    The test might not be in the best location.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tomatophantastico/metamodel 
feature/jdbcCompositeRelations

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/metamodel/pull/149.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #149
    
----
commit c7f99b04ce2becd9ee7579e5f748c2c1d945e25d
Author: Jörg Unbehauen <jo...@unbehauen.net>
Date:   2017-07-17T13:19:46Z

    Test case for composite PK/FK relations.
    
    PK/FK relations are not correctly resolved, they are returned as a 
pairwise, cartesian product of their keys.
    
    Test is in H2 database as SQL is used here, the problem should appear in 
all DBMS though.

commit 59fa48dbf8e0558b26f2f665b4cee8edd42c435a
Author: Jörg Unbehauen <jo...@unbehauen.net>
Date:   2017-07-17T13:21:45Z

    and the fix, which is grouping the result set along the tables and pairwise 
listing of the columns

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to