Deprecated API
Contents
-
ElementDescriptionsince 3.4 - use
ImplementedRepositoryFragment(java.lang.Class<T>,T)
instead.since 3.1, useParameter(MethodParameter, TypeInformation)
instead.since 3.2.1, useQueryMethod.createParameters(ParametersSource)
instead.since 3.0, useReactiveWrappers
instead as the utility was moved into theorg.springframework.data.util
package.useReactiveWrappers.ReactiveLibrary
instead.since 3.0 to go package protected at some point. Refer toTypeInformation
only.since 3.1, rather set up the instance withPagedResourcesAssembler.withParameter(MethodParameter)
.
-
InterfaceDescriptionsince 3.4 in favor of
QueryMethodValueEvaluationContextAccessor
.since 4.0 in favor ofQueryMethodValueEvaluationContextAccessor
.since 3.0, useMetadataReader
to obtaindeclared methods
directly.since 3.0, useMetadataReader
directly to obtaindeclared methods
directly.
-
ClassDescriptionsince 3.3, use
CachingValueExpressionEvaluatorFactory
instead.since 3.3, useValueExpressionParameterValueProvider
instead.since 3.4 in favor ofQueryMethodValueEvaluationContextAccessor
.org.springframework.data.repository.query.ReactiveExtensionAwareQueryMethodEvaluationContextProvidersince 3.4 in favor ofQueryMethodValueEvaluationContextAccessor
.since 3.3, useValueExpressionQueryRewriter
instead.since 3.3, useValueExpressionQueryRewriter
instead.since 3.0, useReactiveWrappers
instead as the utility was moved into theorg.springframework.data.util
package.since 2.5since 3.0. UseSimpleMetadataReaderFactory
directly.since 3.0 to go package protected at some point. Refer toTypeInformation
only.
-
MethodDescriptionsince 3.0, use
MappingInstantiationException.getEntityCreator()
instead.since 3.3, useValueExpressionParameterValueProvider.potentiallyConvertExpressionValue(Object, Parameter)
instead.since 3.3, useParameter.getValueExpression()
instead.since 3.3, useParameter.hasValueExpression()
instead.since 3.0, usePersistentEntity.getInstanceCreatorMetadata()
.since 3.0, usePersistentEntity.isCreatorArgument(PersistentProperty)
instead.usePersistentPropertyPath.getLeafProperty()
instead.since 3.0, useInstanceCreatorMetadata.isCreatorParameter(PersistentProperty)
instead.org.springframework.data.repository.config.RepositoryConfigurationExtensionSupport.getModulePrefix()since 3.0, refer toRepositoryConfigurationExtension.getModuleIdentifier()
instead and implement eitherRepositoryConfigurationExtensionSupport.getModuleName()
directly or both methods if the default translation from name to identifier as defined inRepositoryConfigurationExtension.getModuleIdentifier()
doesn't suit you.since 3.4, useRepositoryFactoryBeanSupport.createDefaultEvaluationContextProvider(ListableBeanFactory)
instead.since 3.4, useRepositoryFactoryBeanSupport.setEvaluationContextProvider(EvaluationContextProvider)
instead.since 3.4, useRepositoryFactorySupport.getQueryLookupStrategy(Key, ValueExpressionDelegate)
instead to supportValueExpression
in query methods.since 2.6 because it has a misleading name. UseRepositoryFactorySupport.instantiateClass(Class, Object...)
instead.since 3.4, useRepositoryFactorySupport.setEvaluationContextProvider(EvaluationContextProvider)
instead.since 3.2.1, useQueryMethod.createParameters(ParametersSource)
instead.since 3.0. UseTypeInformation.of(org.springframework.core.ResolvableType)
instead.since 3.0. UseTypeInformation.fromReturnTypeOf(Method)
instead.since 3.1, rather set up the instance withPagedResourcesAssembler.withParameter(MethodParameter)
.
-
ConstructorDescriptionsince 2.1, use
QPageRequest.of(int, int)
instead.since 2.1, useQPageRequest.of(int, int, OrderSpecifier...)
instead.since 2.1, useQPageRequest.of(int, int, QSort)
instead.since 2.2. Prefer to use overload taking aBeanNameGenerator
additionally.since 3.4 - useImplementedRepositoryFragment(java.lang.Class<T>,T)
instead.since 3.1, useParameter(MethodParameter, TypeInformation)
instead.
PersistentPropertyPath.getLeafProperty()
instead.