forked from D-Net/dnet-hadoop
using helper method from ModelSupport to find the inverse relation descriptor
This commit is contained in:
parent
0fa0ce33d6
commit
08795cbd30
|
@ -90,7 +90,7 @@ public class ReadBlacklistFromDB implements Closeable {
|
|||
inverse.setSource(target_direct);
|
||||
|
||||
String encoding = rs.getString("relationship");
|
||||
RelationInverse ri = ModelSupport.relationInverseMap.get(encoding);
|
||||
RelationInverse ri = ModelSupport.findInverse(encoding);
|
||||
direct.setRelClass(ri.getRelClass());
|
||||
inverse.setRelClass(ri.getInverseRelClass());
|
||||
direct.setRelType(ri.getRelType());
|
||||
|
|
Loading…
Reference in New Issue