Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionsince 3.1, use
Parameter(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)
.
-
Deprecated InterfacesInterfaceDescriptionsince 3.0, use
MetadataReader
to obtaindeclared methods
directly.since 3.0, useMetadataReader
directly to obtaindeclared methods
directly.
-
Deprecated ClassesClassDescriptionsince 3.3, use
CachingValueExpressionEvaluatorFactory
instead.since 3.3, useValueExpressionParameterValueProvider
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.
-
Deprecated Enum Classes
-
Deprecated Annotation Interfaces
-
Deprecated MethodsMethodDescriptionsince 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 2.6 because it has a misleading name. UseRepositoryFactorySupport.instantiateClass(Class, Object...)
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)
.
-
Deprecated ConstructorsConstructorDescriptionsince 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.1, useParameter(MethodParameter, TypeInformation)
instead.
PersistentPropertyPath.getLeafProperty()
instead.