public abstract class JpaQueryExecution extends Object
QueryMethod a AbstractStringBasedJpaQuery can be executed
in various flavors.| Constructor and Description |
|---|
JpaQueryExecution() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Object |
doExecute(AbstractJpaQuery query,
Object[] values)
Method to implement
AbstractStringBasedJpaQuery executions by single enum values. |
Object |
execute(AbstractJpaQuery query,
Object[] values)
Executes the given
AbstractStringBasedJpaQuery with the given ParameterBinder. |
static void |
potentiallyRemoveOptionalConverter(ConfigurableConversionService conversionService)
Removes the converter being able to convert any object into an
Optional from the given
ConversionService in case we're running on Java 8. |
public Object execute(AbstractJpaQuery query, Object[] values)
AbstractStringBasedJpaQuery with the given ParameterBinder.query - must not be null.binder - must not be null.protected abstract Object doExecute(AbstractJpaQuery query, Object[] values)
AbstractStringBasedJpaQuery executions by single enum values.query - binder - public static void potentiallyRemoveOptionalConverter(ConfigurableConversionService conversionService)
Optional from the given
ConversionService in case we're running on Java 8.conversionService - must not be null.Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.