#1743 - Add hasForeignKeyConstraint()

Separate hasForeignKeyConstraint() for DDL use from hasForeignKey() used in query
This commit is contained in:
rob bygrave committed 2019-07-01 21:04:40 +12:00
1 parent 9f19ed5376
commit 7f2e4f54ff
4 files changed
+18 -10

No files matched your search

@@ -363,10 +363,6 @@ public class BeanPropertyAssocOne<T> extends BeanPropertyAssoc<T> implements STr
return foreignKey == null || primaryKeyJoin || !foreignKey.isNoConstraint();
}
public boolean hasForeignKeyIndex() {
return foreignKey == null || !foreignKey.isNoIndex();
}
/**
* Return true if this a OneToOne property. Otherwise assumed ManyToOne.
*/