Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionsince 4.0, use
AotContext.getBeanFactory()
and interact with the bean factory directly.since 4.0, useAotContext.getBeanFactory()
and interact with the bean factory directly.since 4.0 as this isn't widely used and can be easily implemented within user code.since 4.0 as this isn't widely used and can be easily implemented within user code.since 4.0, useAotContext.getTypeScanner()
directlysince 4.0 as this isn't widely used and can be easily implemented within user code.since 4.0, useGeoJacksonModule
instead.org.springframework.data.repository.aot.generate.AotQueryMethodGenerationContext.getReturnTypeName()since 4.0, useAotRepositoryContext.getConfigurationSource()
and callRepositoryConfigurationSource.getBasePackages()
since 4.0, this doesn't really belong in here.since 4.0, in favor ofJacksonRepositoryPopulatorFactoryBean
.since 4.0, in favor ofJacksonResourceReader
.since 4.0, in favor ofSpringDataJackson3Configuration
which uses Jackson 3.since 4.0, in favor ofSpringDataJackson3Configuration
which uses Jackson 3.since 4.0, in favor ofProjectingJacksonHttpMessageConverter
.
-
Deprecated InterfacesInterfaceDescriptionsince 4.0 as this isn't widely used and can be easily implemented within user code.since 4.0 as this isn't widely used and can be easily implemented within user code.since 4.0, in favor of
SpringDataJackson3Configuration
which uses Jackson 3.
-
Deprecated ClassesClassDescriptionsince 4.0, use
GeoJacksonModule
instead.since 4.0, in favor ofJacksonRepositoryPopulatorFactoryBean
.since 4.0, in favor ofJacksonResourceReader
.since 2.5since 4.0 in favor ofNullness
fully using JSpecify annotations instead of Spring Framework's own @Nullable and @NonNullApi annotations.since 4.0, in favor ofSpringDataJackson3Configuration
which uses Jackson 3.since 4.0, in favor ofProjectingJacksonHttpMessageConverter
.
-
Deprecated Fields
-
Deprecated MethodsMethodDescriptionsince 4.0, use
AotContext.getBeanFactory()
and interact with the bean factory directly.since 4.0, useAotContext.getBeanFactory()
and interact with the bean factory directly.since 4.0 as this isn't widely used and can be easily implemented within user code.since 4.0, useAotContext.getTypeScanner()
directlysince 4.0, EvaluationContext is always provided.org.springframework.data.repository.aot.generate.AotQueryMethodGenerationContext.getReturnTypeName()since 4.0, useAotRepositoryContext.getConfigurationSource()
and callRepositoryConfigurationSource.getBasePackages()
since 4.0, this doesn't really belong in here.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 4.0, useRepositoryFactorySupport.getEntityInformation(RepositoryMetadata)
instead.since 3.5, useQueryMethod(Method, RepositoryMetadata, ProjectionFactory, Function)
instead.since 3.5, useReflectionUtils.getRequiredMethod(Class, String, Class[])
instead.
-
Deprecated ConstructorsConstructorDescriptionorg.springframework.data.repository.query.QueryMethod
(Method, RepositoryMetadata, ProjectionFactory) since 3.5, useQueryMethod(Method, RepositoryMetadata, ProjectionFactory, Function)
instead.