cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kolonit...@apache.org
Subject cayenne git commit: fix db relationship order for flatten many-to-many test
Date Tue, 13 Oct 2015 08:46:25 GMT
Repository: cayenne
Updated Branches:
  refs/heads/master 727f9de4d -> 0ad40964e


fix db relationship order for flatten many-to-many test


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/0ad40964
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/0ad40964
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/0ad40964

Branch: refs/heads/master
Commit: 0ad40964e95194ce99b26c12c0ab9d2086f09353
Parents: 727f9de
Author: Alex Kolonitsky <Alex.Kolonitsky@gmail.com>
Authored: Tue Oct 13 11:42:57 2015 +0300
Committer: Alex Kolonitsky <Alex.Kolonitsky@gmail.com>
Committed: Tue Oct 13 11:42:57 2015 +0300

----------------------------------------------------------------------
 .../testFlattensManyToManyWithRecursiveLink.map.xml-result   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/0ad40964/plugins/maven-cayenne-plugin/src/test/resources/org/apache/cayenne/tools/dbimport/testFlattensManyToManyWithRecursiveLink.map.xml-result
----------------------------------------------------------------------
diff --git a/plugins/maven-cayenne-plugin/src/test/resources/org/apache/cayenne/tools/dbimport/testFlattensManyToManyWithRecursiveLink.map.xml-result
b/plugins/maven-cayenne-plugin/src/test/resources/org/apache/cayenne/tools/dbimport/testFlattensManyToManyWithRecursiveLink.map.xml-result
index 8480317..cf592e4 100644
--- a/plugins/maven-cayenne-plugin/src/test/resources/org/apache/cayenne/tools/dbimport/testFlattensManyToManyWithRecursiveLink.map.xml-result
+++ b/plugins/maven-cayenne-plugin/src/test/resources/org/apache/cayenne/tools/dbimport/testFlattensManyToManyWithRecursiveLink.map.xml-result
@@ -32,16 +32,16 @@
     <obj-entity name="A" className="org.not.my.home.A" dbEntityName="A">
     </obj-entity>
     <db-relationship name="aAArray" source="A" target="A_A" toDependentPK="true" toMany="true">
-        <db-attribute-pair source="ID" target="A2_ID"/>
+        <db-attribute-pair source="ID" target="A1_ID"/>
     </db-relationship>
     <db-relationship name="aAArray1" source="A" target="A_A" toDependentPK="true" toMany="true">
-        <db-attribute-pair source="ID" target="A1_ID"/>
+        <db-attribute-pair source="ID" target="A2_ID"/>
     </db-relationship>
     <db-relationship name="toA" source="A_A" target="A" toMany="false">
-        <db-attribute-pair source="A2_ID" target="ID"/>
+        <db-attribute-pair source="A1_ID" target="ID"/>
     </db-relationship>
     <db-relationship name="toA1" source="A_A" target="A" toMany="false">
-        <db-attribute-pair source="A1_ID" target="ID"/>
+        <db-attribute-pair source="A2_ID" target="ID"/>
     </db-relationship>
     <obj-relationship name="aArray" source="A" target="A" db-relationship-path="aAArray.toA1"/>
     <obj-relationship name="aArray1" source="A" target="A" db-relationship-path="aAArray1.toA"/>


Mime
View raw message