#2367 - Modify ebean-ddl-generator to not have a dependency on ImportedId

Effectively remove the import io.ebeaninternal.server.deploy.id.ImportedId; dependency
This commit is contained in:
Rob Bygrave
2021-09-15 19:14:38 +12:00
parent 7226bb0ea3
commit 04ab161421
2 changed files with 11 additions and 23 deletions
@@ -545,6 +545,13 @@ public class BeanPropertyAssocOne<T> extends BeanPropertyAssoc<T> implements STr
return importedId;
}
/**
* Find and return a matching imported id property.
*/
public BeanProperty findMatchImport(String dbCol) {
return importedId.findMatchImport(dbCol);
}
private String deriveWhereParentIdSql(boolean inClause) {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < exportedProperties.length; i++) {