cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ntimof...@apache.org
Subject [3/4] cayenne git commit: CAY-2021 cdbimport: detect when same FK constraint is defined twice
Date Fri, 07 Apr 2017 14:17:21 GMT
CAY-2021 cdbimport: detect when same FK constraint is defined twice


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

Branch: refs/heads/master
Commit: e7e31905ddc6e74ecdd3a1317f2174574068cd4b
Parents: 297dcc2
Author: Anton Dreka <drekoas@gmail.com>
Authored: Fri Apr 7 16:13:11 2017 +0300
Committer: Anton Dreka <drekoas@gmail.com>
Committed: Fri Apr 7 16:13:11 2017 +0300

----------------------------------------------------------------------
 .../cayenne/dbsync/reverse/dbload/RelationshipLoader.java       | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/e7e31905/cayenne-dbsync/src/main/java/org/apache/cayenne/dbsync/reverse/dbload/RelationshipLoader.java
----------------------------------------------------------------------
diff --git a/cayenne-dbsync/src/main/java/org/apache/cayenne/dbsync/reverse/dbload/RelationshipLoader.java
b/cayenne-dbsync/src/main/java/org/apache/cayenne/dbsync/reverse/dbload/RelationshipLoader.java
index 65260b1..1b9e9db 100644
--- a/cayenne-dbsync/src/main/java/org/apache/cayenne/dbsync/reverse/dbload/RelationshipLoader.java
+++ b/cayenne-dbsync/src/main/java/org/apache/cayenne/dbsync/reverse/dbload/RelationshipLoader.java
@@ -26,7 +26,10 @@ import java.util.Set;
 
 import org.apache.cayenne.dbsync.naming.NameBuilder;
 import org.apache.cayenne.dbsync.naming.ObjectNameGenerator;
-import org.apache.cayenne.map.*;
+import org.apache.cayenne.map.DbAttribute;
+import org.apache.cayenne.map.DbEntity;
+import org.apache.cayenne.map.DbJoin;
+import org.apache.cayenne.map.DbRelationship;
 import org.apache.cayenne.util.EqualsBuilder;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;


Mime
View raw message