master #59
|
@ -711,10 +711,7 @@ public class MigrateDbEntitiesApplication extends AbstractMigrationApplication i
|
||||||
final Relation r = new Relation();
|
final Relation r = new Relation();
|
||||||
r.setRelType(ORG_ORG_RELTYPE);
|
r.setRelType(ORG_ORG_RELTYPE);
|
||||||
r.setSubRelType(ModelConstants.RELATIONSHIP);
|
r.setSubRelType(ModelConstants.RELATIONSHIP);
|
||||||
r
|
r.setRelClass(rs.getString("type"));
|
||||||
.setRelClass(
|
|
||||||
rs.getString("type").equalsIgnoreCase("parent") ? ModelConstants.IS_PARENT_OF
|
|
||||||
: ModelConstants.IS_CHILD_OF);
|
|
||||||
r.setSource(orgId1);
|
r.setSource(orgId1);
|
||||||
r.setTarget(orgId2);
|
r.setTarget(orgId2);
|
||||||
r.setCollectedfrom(collectedFrom);
|
r.setCollectedfrom(collectedFrom);
|
||||||
|
|
Loading…
Reference in New Issue