HHH-7728 added null checks
This commit is contained in:
parent
c297d93261
commit
4516dd45d6
|
@ -354,8 +354,8 @@ public class Table implements RelationalModel, Serializable {
|
|||
}
|
||||
|
||||
return isQuoted() ? name.equals(table.getName()) : name.equalsIgnoreCase(table.getName())
|
||||
&& isSchemaQuoted() ? schema.equals(table.getSchema()) : schema.equalsIgnoreCase(table.getSchema())
|
||||
&& isCatalogQuoted() ? catalog.equals(table.getCatalog()) : catalog.equalsIgnoreCase(table.getCatalog());
|
||||
&& ((schema == null && table.getSchema() != null) ? false : (schema == null) ? true : isSchemaQuoted() ? schema.equals(table.getSchema()) : schema.equalsIgnoreCase(table.getSchema()))
|
||||
&& ((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) {
|
||||
|
|
Loading…
Reference in New Issue