HHH-147 Fix method name in contract
This commit is contained in:
parent
21dd7a35f1
commit
9aba4532cd
|
@ -14,7 +14,6 @@
|
|||
|
||||
package org.hibernate.boot.model;
|
||||
|
||||
import org.hibernate.query.sqm.function.SqmFunctionRegistry;
|
||||
import org.hibernate.service.ServiceRegistry;
|
||||
|
||||
/**
|
||||
|
@ -30,5 +29,5 @@ public interface FunctionContributor {
|
|||
* @param functionContributions The callback for contributing functions
|
||||
* @param serviceRegistry The service registry
|
||||
*/
|
||||
void contributeTypes(FunctionContributions functionContributions, ServiceRegistry serviceRegistry);
|
||||
void contributeFunctions(FunctionContributions functionContributions, ServiceRegistry serviceRegistry);
|
||||
}
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
package org.hibernate.query.spi;
|
||||
|
||||
import org.hibernate.Incubating;
|
||||
import org.hibernate.boot.model.FunctionContributions;
|
||||
import org.hibernate.boot.model.FunctionContributor;
|
||||
import org.hibernate.boot.registry.classloading.spi.ClassLoaderService;
|
||||
import org.hibernate.boot.spi.BootstrapContext;
|
||||
|
@ -28,7 +27,6 @@ import org.hibernate.query.internal.QueryInterpretationCacheDisabledImpl;
|
|||
import org.hibernate.query.internal.QueryInterpretationCacheStandardImpl;
|
||||
import org.hibernate.query.named.NamedObjectRepository;
|
||||
import org.hibernate.query.sqm.NodeBuilder;
|
||||
import org.hibernate.query.sqm.function.SqmFunctionDescriptor;
|
||||
import org.hibernate.query.sqm.function.SqmFunctionRegistry;
|
||||
import org.hibernate.query.sqm.internal.SqmCreationOptionsStandard;
|
||||
import org.hibernate.query.sqm.internal.SqmCriteriaNodeBuilder;
|
||||
|
@ -133,7 +131,7 @@ public class QueryEngine {
|
|||
|
||||
for ( FunctionContributor contributor : serviceRegistry.getService( ClassLoaderService.class )
|
||||
.loadJavaServices( FunctionContributor.class ) ) {
|
||||
contributor.contributeTypes( sqmFunctionRegistry::register, serviceRegistry );
|
||||
contributor.contributeFunctions( sqmFunctionRegistry::register, serviceRegistry );
|
||||
}
|
||||
|
||||
final boolean showSQLFunctions = ConfigurationHelper.getBoolean(
|
||||
|
|
Loading…
Reference in New Issue