HHH-14744 : HHH-14744 : Refactor contextual information for SchemaManagementTool to be more easily extended by Hibernate Reactive
Remove PostgreSQL10Dialect#buildIdentifierHelper since it is no longer needed.
This commit is contained in:
parent
42b8be7852
commit
3720e5fac4
|
@ -41,28 +41,6 @@ public class PostgreSQL10Dialect extends PostgreSQL95Dialect {
|
||||||
tableTypesList.add( "PARTITIONED TABLE" );
|
tableTypesList.add( "PARTITIONED TABLE" );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public IdentifierHelper buildIdentifierHelper(
|
|
||||||
IdentifierHelperBuilder builder,
|
|
||||||
DatabaseMetaData dbMetaData) throws SQLException {
|
|
||||||
// This method is overridden so the information will be set properly when
|
|
||||||
// DatabaseMetaData is not available.
|
|
||||||
if ( dbMetaData != null ) {
|
|
||||||
builder.applyIdentifierCasing( dbMetaData );
|
|
||||||
builder.applyReservedWords( dbMetaData );
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
builder.setUnquotedCaseStrategy( IdentifierCaseStrategy.LOWER );
|
|
||||||
builder.setQuotedCaseStrategy( IdentifierCaseStrategy.MIXED );
|
|
||||||
}
|
|
||||||
builder.applyReservedWords( AnsiSqlKeywords.INSTANCE.sql2003() );
|
|
||||||
builder.applyReservedWords( getKeywords() );
|
|
||||||
|
|
||||||
builder.setNameQualifierSupport( getNameQualifierSupport() );
|
|
||||||
|
|
||||||
return builder.build();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public NameQualifierSupport getNameQualifierSupport() {
|
public NameQualifierSupport getNameQualifierSupport() {
|
||||||
// This method is overridden so the correct value will be returned when
|
// This method is overridden so the correct value will be returned when
|
||||||
|
|
Loading…
Reference in New Issue