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:
Gail Badner 2021-08-04 23:40:40 -07:00 committed by Sanne Grinovero
parent 42b8be7852
commit 3720e5fac4
1 changed files with 0 additions and 22 deletions

View File

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