Deprecated API
Contents
-
ElementDescriptionsince 3.1, use
Parameter(MethodParameter, TypeInformation)
instead.since 3.1, useParameters(Method, Function)
instead.since 3.1, in your extension, callParameters(Method, Function)
instead.since 3.1, call or overrideQueryMethod.createParameters(Method, TypeInformation)
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.0, use
MetadataReader
to obtaindeclared methods
directly.since 3.0, useMetadataReader
directly to obtaindeclared methods
directly.
-
ClassDescriptionsince 3.0, use
ReactiveWrappers
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.0, usePersistentEntity.getInstanceCreatorMetadata()
.since 3.0, usePersistentEntity.isCreatorArgument(PersistentProperty)
instead.since 2.3, usePersistentPropertyPathAccessor.getProperty(PersistentPropertyPath)
insteadsince 2.3, usePersistentPropertyPathAccessor.setProperty(PersistentPropertyPath, Object)
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.1, in your extension, callParameters(Method, Function)
instead.since 3.1, call or overrideQueryMethod.createParameters(Method, TypeInformation)
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.1, useDefaultParameters(Method, TypeInformation)
instead.since 3.1, useParameter(MethodParameter, TypeInformation)
instead.since 3.1, useParameters(Method, Function)
instead.
DefaultParameters(Method, TypeInformation)
instead.