[#5557] Compilation error when generated catalog and one of its contained schemas have the same name
This commit is contained in:
parent
91a2f0eaf2
commit
631b91a16f
@ -150,6 +150,14 @@ class GeneratorStrategyWrapper extends AbstractGeneratorStrategy {
|
||||
return identifier + "_";
|
||||
}
|
||||
|
||||
// [#5557] Once more, this causes issues...
|
||||
else if (definition instanceof SchemaDefinition) {
|
||||
CatalogDefinition catalog = definition.getCatalog();
|
||||
|
||||
if (identifier.equals(getJavaIdentifier(catalog)))
|
||||
return identifier + "_";
|
||||
}
|
||||
|
||||
return identifier;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user