HHH-16228 Introduce a Dialect wrapper base class

This commit is contained in:
Sanne Grinovero 2023-02-23 15:17:38 +00:00 committed by Sanne Grinovero
parent a36f6aa736
commit 3f2e24c3dd
2 changed files with 1603 additions and 4 deletions

View File

@ -766,7 +766,7 @@ public abstract class Dialect implements ConversionContext, TypeContributor, Fun
} }
@Override @Override
public final void contributeFunctions(FunctionContributions functionContributions) { public void contributeFunctions(FunctionContributions functionContributions) {
initializeFunctionRegistry( functionContributions ); initializeFunctionRegistry( functionContributions );
} }
@ -1485,7 +1485,7 @@ public abstract class Dialect implements ConversionContext, TypeContributor, Fun
* *
* @see #initDefaultProperties() * @see #initDefaultProperties()
*/ */
public final Properties getDefaultProperties() { public Properties getDefaultProperties() {
return properties; return properties;
} }
@ -1522,7 +1522,7 @@ public abstract class Dialect implements ConversionContext, TypeContributor, Fun
// database type mapping support ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // database type mapping support ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@Override @Override
public final void contribute(TypeContributions typeContributions, ServiceRegistry serviceRegistry) { public void contribute(TypeContributions typeContributions, ServiceRegistry serviceRegistry) {
contributeTypes( typeContributions, serviceRegistry ); contributeTypes( typeContributions, serviceRegistry );
} }
@ -3047,7 +3047,7 @@ public abstract class Dialect implements ConversionContext, TypeContributor, Fun
* @see #openQuote() * @see #openQuote()
* @see #closeQuote() * @see #closeQuote()
*/ */
public final String quote(String name) { public String quote(String name) {
if ( name == null ) { if ( name == null ) {
return null; return null;
} }

File diff suppressed because it is too large Load Diff