From 3720e5fac4ca798d94ab736c88f85a60f501be5a Mon Sep 17 00:00:00 2001 From: Gail Badner Date: Wed, 4 Aug 2021 23:40:40 -0700 Subject: [PATCH] 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. --- .../dialect/PostgreSQL10Dialect.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL10Dialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL10Dialect.java index 6f5767125c..37dfba3f92 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL10Dialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL10Dialect.java @@ -41,28 +41,6 @@ public class PostgreSQL10Dialect extends PostgreSQL95Dialect { 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 public NameQualifierSupport getNameQualifierSupport() { // This method is overridden so the correct value will be returned when