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

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • 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.jdbc.repository.query.AbstractJdbcQuery.getQueryExecution(JdbcQueryMethod, ResultSetExtractor<?>, RowMapper<?>)
    use AbstractJdbcQuery.createReadingQueryExecution(ResultSetExtractor, RowMapper) instead.
  • 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.
  • 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.jdbc.repository.query.AbstractJdbcQuery.getQueryExecution(JdbcQueryMethod, ResultSetExtractor<?>, RowMapper<?>)
    use AbstractJdbcQuery.createReadingQueryExecution(ResultSetExtractor, RowMapper) 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

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