HHH-7728 added null checks
This commit is contained in:
parent
a4f99386fb
commit
9a8d6955b0
|
@ -354,8 +354,8 @@ public class Table implements RelationalModel, Serializable {
|
||||||
}
|
}
|
||||||
|
|
||||||
return isQuoted() ? name.equals(table.getName()) : name.equalsIgnoreCase(table.getName())
|
return isQuoted() ? name.equals(table.getName()) : name.equalsIgnoreCase(table.getName())
|
||||||
&& isSchemaQuoted() ? schema.equals(table.getSchema()) : schema.equalsIgnoreCase(table.getSchema())
|
&& ((schema == null && table.getSchema() != null) ? false : (schema == null) ? true : isSchemaQuoted() ? schema.equals(table.getSchema()) : schema.equalsIgnoreCase(table.getSchema()))
|
||||||
&& isCatalogQuoted() ? catalog.equals(table.getCatalog()) : catalog.equalsIgnoreCase(table.getCatalog());
|
&& ((catalog == null && table.getCatalog() != null) ? false : (catalog == null) ? true : isCatalogQuoted() ? catalog.equals(table.getCatalog()) : catalog.equalsIgnoreCase(table.getCatalog()));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void validateColumns(Dialect dialect, Mapping mapping, TableMetadata tableInfo) {
|
public void validateColumns(Dialect dialect, Mapping mapping, TableMetadata tableInfo) {
|
||||||
|
|
Loading…
Reference in New Issue