Skip navigation links
Spring Data Relational Parent
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Fields
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy.setDelegate(DataAccessStrategy)
    since 3.0, use DelegatingDataAccessStrategy(DataAccessStrategy) to avoid mutable state.
    org.springframework.data.jdbc.core.convert.EntityRowMapper(PersistentPropertyPathExtension, JdbcConverter, Identifier)
    use EntityRowMapper(AggregatePath, JdbcConverter, Identifier) instead
    org.springframework.data.jdbc.core.convert.JdbcConverter.mapRow(PersistentPropertyPathExtension, ResultSet, Identifier, Object)
    use JdbcConverter.readAndResolve(Class, RowDocument, Identifier) instead.
    org.springframework.data.jdbc.core.convert.JdbcIdentifierBuilder.forBackReferences(JdbcConverter, PersistentPropertyPathExtension, Object)
    Use JdbcIdentifierBuilder.forBackReferences(JdbcConverter, AggregatePath, Object) instead.
    org.springframework.data.jdbc.core.convert.SqlParametersFactory(RelationalMappingContext, JdbcConverter, Dialect)
    use SqlParametersFactory(org.springframework.data.relational.core.mapping.RelationalMappingContext,org.springframework.data.jdbc.core.convert.JdbcConverter) instead.
    org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy(SqlSession, IdentifierProcessing)
    because identifierProcessing now will not be considered in the process of applying it to SqlIdentifier, use MyBatisDataAccessStrategy(org.apache.ibatis.session.SqlSession) constructor instead
    org.springframework.data.r2dbc.query.QueryMapper.getMappedObject(Sort, RelationalPersistentEntity<?>)
    without replacement.
    org.springframework.data.relational.core.conversion.RowDocumentAccessor.document()
    since 3.2.6, this method was not intended to be exposed publicly. Use RowDocumentAccessor.getDocument() instead.
    org.springframework.data.relational.core.mapping.NamingStrategy.getReverseColumnName(PersistentPropertyPathExtension)
    use NamingStrategy.getReverseColumnName(RelationalPersistentEntity) instead.
    org.springframework.data.relational.core.mapping.NamingStrategy.INSTANCE
    use DefaultNamingStrategy.INSTANCE instead.
    org.springframework.data.relational.core.mapping.PersistentPropertyPathExtension
    use AggregatePath instead
    org.springframework.data.relational.core.mapping.RelationalPersistentProperty.getReverseColumnName(PersistentPropertyPathExtension)
    use RelationalPersistentProperty.getReverseColumnName(RelationalPersistentEntity) instead
    org.springframework.data.relational.core.sql.SqlIdentifier.getReference(IdentifierProcessing)
    since 3.1, use the #getReference() method instead.
  • Deprecated Interfaces
    Interface
    Description
    org.springframework.data.r2dbc.core.ReactiveDataAccessStrategy
    since 1.2 in favor of using direct usage of StatementMapper, UpdateMapper and R2dbcConverter.
  • Deprecated Classes
    Class
    Description
    org.springframework.data.jdbc.core.convert.BasicJdbcConverter
    since 3.2, use MappingJdbcConverter instead as the naming suggests a limited scope of functionality.
    org.springframework.data.jdbc.core.convert.BatchJdbcOperations
    since 3.2. Use NamedParameterJdbcOperations.batchUpdate(java.lang.String, org.springframework.jdbc.core.namedparam.SqlParameterSource[]) methods instead.
    org.springframework.data.relational.core.conversion.BasicRelationalConverter
    since 3.2, use MappingRelationalConverter instead as the naming suggests a limited scope of functionality.
    org.springframework.data.relational.core.mapping.PersistentPropertyPathExtension
    use AggregatePath instead
  • Deprecated Fields
    Field
    Description
    org.springframework.data.relational.core.mapping.NamingStrategy.INSTANCE
    use DefaultNamingStrategy.INSTANCE instead.
  • Deprecated Methods
    Method
    Description
    org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy.setDelegate(DataAccessStrategy)
    since 3.0, use DelegatingDataAccessStrategy(DataAccessStrategy) to avoid mutable state.
    org.springframework.data.jdbc.core.convert.JdbcConverter.mapRow(PersistentPropertyPathExtension, ResultSet, Identifier, Object)
    use JdbcConverter.readAndResolve(Class, RowDocument, Identifier) instead.
    org.springframework.data.jdbc.core.convert.JdbcConverter.mapRow(RelationalPersistentEntity<T>, ResultSet, Object)
    since 3.2, use JdbcConverter.readAndResolve(Class, RowDocument, Identifier) instead.
    org.springframework.data.jdbc.core.convert.JdbcIdentifierBuilder.forBackReferences(JdbcConverter, PersistentPropertyPathExtension, Object)
    Use JdbcIdentifierBuilder.forBackReferences(JdbcConverter, AggregatePath, Object) instead.
    org.springframework.data.jdbc.core.convert.JdbcIdentifierBuilder.withQualifier(PersistentPropertyPathExtension, Object)
    org.springframework.data.jdbc.core.JdbcAggregateOperations.delete(T, Class<T>)
    since 3.0 use JdbcAggregateOperations.delete(Object) instead
    org.springframework.data.jdbc.core.JdbcAggregateOperations.deleteAll(Iterable<? extends T>, Class<T>)
    since 3.0 use JdbcAggregateOperations.deleteAll(Iterable) instead.
    org.springframework.data.r2dbc.core.R2dbcEntityOperations.getDataAccessStrategy()
    use R2dbcEntityOperations.getConverter() instead as ReactiveDataAccessStrategy will be removed in a future release.
    org.springframework.data.r2dbc.core.R2dbcEntityTemplate.setBeanFactory(BeanFactory)
    org.springframework.data.r2dbc.core.ReactiveDataAccessStrategy.processNamedParameters(String, ReactiveDataAccessStrategy.NamedParameterProvider)
    since 1.2. DatabaseClient encapsulates named parameter handling entirely.
    org.springframework.data.r2dbc.core.StatementMapper.SelectSpec.getProjectedFields()
    since 1.1, use StatementMapper.SelectSpec.getSelectList() instead.
    org.springframework.data.r2dbc.query.QueryMapper.getMappedObject(Sort, RelationalPersistentEntity<?>)
    without replacement.
    org.springframework.data.r2dbc.query.QueryMapper.getMappedObject(BindMarkers, Criteria, Table, RelationalPersistentEntity<?>)
    since 1.1.
    org.springframework.data.relational.core.conversion.RelationalConverter.createInstance(PersistentEntity<T, RelationalPersistentProperty>, Function<Parameter<?, RelationalPersistentProperty>, Object>)
    since 3.2, use RelationalConverter.read(java.lang.Class<R>, org.springframework.data.relational.domain.RowDocument) method instead.
    org.springframework.data.relational.core.conversion.RowDocumentAccessor.document()
    since 3.2.6, this method was not intended to be exposed publicly. Use RowDocumentAccessor.getDocument() instead.
    org.springframework.data.relational.core.mapping.NamingStrategy.getReverseColumnName(PersistentPropertyPathExtension)
    use NamingStrategy.getReverseColumnName(RelationalPersistentEntity) instead.
    org.springframework.data.relational.core.mapping.RelationalPersistentProperty.getReverseColumnName(PersistentPropertyPathExtension)
    use RelationalPersistentProperty.getReverseColumnName(RelationalPersistentEntity) instead
    org.springframework.data.relational.core.sql.SqlIdentifier.getReference(IdentifierProcessing)
    since 3.1, use the #getReference() method instead.
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.data.jdbc.core.convert.EntityRowMapper(PersistentPropertyPathExtension, JdbcConverter, Identifier)
    use EntityRowMapper(AggregatePath, JdbcConverter, Identifier) instead
    org.springframework.data.jdbc.core.convert.InsertStrategyFactory(NamedParameterJdbcOperations, BatchJdbcOperations, Dialect)
    since 3.2, use InsertStrategyFactory(NamedParameterJdbcOperations, Dialect) instead.
    org.springframework.data.jdbc.core.convert.QueryMapper(Dialect, JdbcConverter)
    use QueryMapper(org.springframework.data.jdbc.core.convert.JdbcConverter) instead.
    org.springframework.data.jdbc.core.convert.SqlParametersFactory(RelationalMappingContext, JdbcConverter, Dialect)
    use SqlParametersFactory(org.springframework.data.relational.core.mapping.RelationalMappingContext,org.springframework.data.jdbc.core.convert.JdbcConverter) instead.
    org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy(SqlSession, IdentifierProcessing)
    because identifierProcessing now will not be considered in the process of applying it to SqlIdentifier, use MyBatisDataAccessStrategy(org.apache.ibatis.session.SqlSession) constructor instead
    org.springframework.data.relational.core.mapping.BasicRelationalPersistentProperty(Property, PersistentEntity<?, RelationalPersistentProperty>, SimpleTypeHolder, RelationalMappingContext)

Copyright © 2017–2025 Pivotal Software, Inc.. All rights reserved.