HHH-7728 added null checks

This commit is contained in:
brmeyer 2012-10-30 12:17:50 -04:00
parent c297d93261
commit 4516dd45d6
1 changed files with 2 additions and 2 deletions

View File

@ -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) {