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

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Exceptions
  • Fields
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.data.jdbc.core.convert.DefaultJdbcTypeFactory(JdbcOperations, JdbcArrayColumns)
    use DefaultJdbcTypeFactory(JdbcOperations, org.springframework.data.jdbc.core.dialect.JdbcArrayColumns) instead.
    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.JdbcArrayColumns
    since 3.5, replacement moved to JdbcArrayColumns.
    org.springframework.data.jdbc.repository.config.DialectResolver
    since 3.5, replacement DialectResolver was moved to the org.springframework.data.jdbc.core.dialect package.
    org.springframework.data.jdbc.repository.config.DialectResolver.DefaultDialectProvider
    org.springframework.data.jdbc.repository.config.DialectResolver.JdbcDialectProvider
    since 3.5, replacement DialectResolver was moved to the org.springframework.data.jdbc.core.dialect package.
    org.springframework.data.jdbc.repository.config.DialectResolver.NoDialectException
    org.springframework.data.relational.core.dialect.Db2Dialect.INSTANCE
    use the org.springframework.data.jdbc.core.dialect.JdbcDb2Dialect directly.
    org.springframework.data.relational.core.dialect.H2Dialect.INSTANCE
    use either the org.springframework.data.r2dbc.dialect.H2Dialect or org.springframework.data.jdbc.core.dialect.JdbcH2Dialect.
    org.springframework.data.relational.core.dialect.HsqlDbDialect.INSTANCE
    use the org.springframework.data.jdbc.core.dialect.JdbcHsqlDbDialect directly.
    org.springframework.data.relational.core.dialect.MySqlDialect.INSTANCE
    use either the org.springframework.data.r2dbc.dialect.MySqlDialect or org.springframework.data.jdbc.core.dialect.JdbcMySqlDialect
    org.springframework.data.relational.core.dialect.OracleDialect.INSTANCE
    use either the org.springframework.data.r2dbc.dialect.OracleDialect or org.springframework.data.jdbc.core.dialect.JdbcOracleDialect.
    org.springframework.data.relational.core.dialect.PostgresDialect.INSTANCE
    use either the org.springframework.data.r2dbc.dialect.PostgresDialect or org.springframework.data.jdbc.core.dialect.JdbcPostgresDialect.
    org.springframework.data.relational.core.dialect.SqlServerDialect.INSTANCE
    use either the org.springframework.data.r2dbc.dialect.SqlServerDialect or org.springframework.data.jdbc.core.dialect.JdbcSqlServerDialect.
  • Deprecated Interfaces
    Interface
    Description
    org.springframework.data.jdbc.core.convert.JdbcArrayColumns
    since 3.5, replacement moved to JdbcArrayColumns.
    org.springframework.data.jdbc.repository.config.DialectResolver.JdbcDialectProvider
    since 3.5, replacement DialectResolver was moved to the org.springframework.data.jdbc.core.dialect package.
    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.repository.config.DialectResolver
    since 3.5, replacement DialectResolver was moved to the org.springframework.data.jdbc.core.dialect package.
    org.springframework.data.jdbc.repository.config.DialectResolver.DefaultDialectProvider
  • Deprecated Exceptions
    Exceptions
    Description
    org.springframework.data.jdbc.repository.config.DialectResolver.NoDialectException
  • Deprecated Fields
    Field
    Description
    org.springframework.data.relational.core.dialect.Db2Dialect.INSTANCE
    use the org.springframework.data.jdbc.core.dialect.JdbcDb2Dialect directly.
    org.springframework.data.relational.core.dialect.H2Dialect.INSTANCE
    use either the org.springframework.data.r2dbc.dialect.H2Dialect or org.springframework.data.jdbc.core.dialect.JdbcH2Dialect.
    org.springframework.data.relational.core.dialect.HsqlDbDialect.INSTANCE
    use the org.springframework.data.jdbc.core.dialect.JdbcHsqlDbDialect directly.
    org.springframework.data.relational.core.dialect.MySqlDialect.INSTANCE
    use either the org.springframework.data.r2dbc.dialect.MySqlDialect or org.springframework.data.jdbc.core.dialect.JdbcMySqlDialect
    org.springframework.data.relational.core.dialect.OracleDialect.INSTANCE
    use either the org.springframework.data.r2dbc.dialect.OracleDialect or org.springframework.data.jdbc.core.dialect.JdbcOracleDialect.
    org.springframework.data.relational.core.dialect.PostgresDialect.INSTANCE
    use either the org.springframework.data.r2dbc.dialect.PostgresDialect or org.springframework.data.jdbc.core.dialect.JdbcPostgresDialect.
    org.springframework.data.relational.core.dialect.SqlServerDialect.INSTANCE
    use either the org.springframework.data.r2dbc.dialect.SqlServerDialect or org.springframework.data.jdbc.core.dialect.JdbcSqlServerDialect.
  • 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.repository.query.StringBasedJdbcQuery.setBeanFactory(BeanFactory)
    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.
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.data.jdbc.core.convert.DefaultJdbcTypeFactory(JdbcOperations, JdbcArrayColumns)
    use DefaultJdbcTypeFactory(JdbcOperations, org.springframework.data.jdbc.core.dialect.JdbcArrayColumns) instead.
    org.springframework.data.jdbc.repository.query.StringBasedJdbcQuery(String, JdbcQueryMethod, NamedParameterJdbcOperations, AbstractJdbcQuery.RowMapperFactory, JdbcConverter, QueryMethodEvaluationContextProvider)
    since 3.4, use the constructors accepting ValueExpressionDelegate instead.
    org.springframework.data.jdbc.repository.query.StringBasedJdbcQuery(JdbcQueryMethod, NamedParameterJdbcOperations, AbstractJdbcQuery.RowMapperFactory, JdbcConverter, QueryMethodEvaluationContextProvider)
    use alternative constructor
    org.springframework.data.jdbc.repository.query.StringBasedJdbcQuery(JdbcQueryMethod, NamedParameterJdbcOperations, RowMapper<?>, JdbcConverter, QueryMethodEvaluationContextProvider)
    since 3.4, use the constructors accepting ValueExpressionDelegate instead.
    org.springframework.data.r2dbc.repository.query.StringBasedR2dbcQuery(String, R2dbcQueryMethod, R2dbcEntityOperations, R2dbcConverter, ReactiveDataAccessStrategy, ExpressionParser, ReactiveQueryMethodEvaluationContextProvider)
    use the constructor version with ValueExpressionDelegate
    org.springframework.data.r2dbc.repository.query.StringBasedR2dbcQuery(R2dbcQueryMethod, R2dbcEntityOperations, R2dbcConverter, ReactiveDataAccessStrategy, ExpressionParser, ReactiveQueryMethodEvaluationContextProvider)
    use the constructor version with ValueExpressionDelegate

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