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
  • Annotation Interface Elements
  • 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.core.dialect.JdbcMySqlDialect.INSTANCE
    Use the constructor instead. There is no one correct MySqlDialect, since the behaviour of MySql depends on various configuration options. See
     Identifier Case Sensitivity
                 
    org.springframework.data.jdbc.dialect.DialectResolver
    since 3.5, replacement DialectResolver was moved to the org.springframework.data.jdbc.core.dialect package.
    org.springframework.data.jdbc.dialect.DialectResolver.DefaultDialectProvider
    org.springframework.data.jdbc.dialect.DialectResolver.JdbcDialectProvider
    since 3.5, replacement DialectResolver was moved to the org.springframework.data.jdbc.core.dialect package.
    org.springframework.data.jdbc.dialect.DialectResolver.NoDialectException
    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.jdbc.repository.support.JdbcRepositoryFactory(DataAccessStrategy, RelationalMappingContext, JdbcConverter, Dialect, ApplicationEventPublisher, NamedParameterJdbcOperations)
    use JdbcRepositoryFactory(JdbcAggregateOperations) for consistent configuration instead.
    org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory.setApplicationEventPublisher(ApplicationEventPublisher)
    no longer used nor supported. Use JdbcRepositoryFactory(JdbcAggregateOperations) instead.
    org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory.setEntityCallbacks(EntityCallbacks)
    no longer used nor supported. Use JdbcRepositoryFactory(JdbcAggregateOperations) instead.
    org.springframework.data.relational.core.conversion.DbActionExecutionResult()
    Use one of the other constructors.
    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.MySqlDialect.MYSQL_IDENTIFIER_PROCESSING
    Construct your own IdentifierProcessing. There is no one standard identifier processing for MySql.See
              Identifier Case Sensitivity
                 
    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.
    org.springframework.data.relational.core.mapping.AggregatePath.TableInfo.reverseColumnInfo()
    since there might be more than one reverse column instead. Use AggregatePath.TableInfo.backReferenceColumnInfos() instead.
    org.springframework.data.relational.core.mapping.RelationalPersistentEntity.getIdColumn()
    because an entity may have multiple id columns. Use AggregatePath.getTableInfo().getIdColumnInfos() instead.
  • Deprecated Interfaces
    Interface
    Description
    org.springframework.data.jdbc.core.convert.JdbcArrayColumns
    since 3.5, replacement moved to JdbcArrayColumns.
    org.springframework.data.jdbc.dialect.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.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.dialect.DialectResolver
    since 3.5, replacement DialectResolver was moved to the org.springframework.data.jdbc.core.dialect package.
    org.springframework.data.jdbc.dialect.DialectResolver.DefaultDialectProvider
    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.dialect.DialectResolver.NoDialectException
    org.springframework.data.jdbc.repository.config.DialectResolver.NoDialectException
  • Deprecated Fields
    Field
    Description
    org.springframework.data.jdbc.core.dialect.JdbcMySqlDialect.INSTANCE
    Use the constructor instead. There is no one correct MySqlDialect, since the behaviour of MySql depends on various configuration options. See
     Identifier Case Sensitivity
                 
    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.MySqlDialect.MYSQL_IDENTIFIER_PROCESSING
    Construct your own IdentifierProcessing. There is no one standard identifier processing for MySql.See
              Identifier Case Sensitivity
                 
    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.config.EnableJdbcRepositories.dataAccessStrategyRef()
    since 4.0 use EnableJdbcRepositories.jdbcAggregateOperationsRef() instead to ensure consistent configuration repositories.
    org.springframework.data.jdbc.repository.config.EnableJdbcRepositories.jdbcOperationsRef()
    since 4.0 use EnableJdbcRepositories.jdbcAggregateOperationsRef() instead to ensure consistent configuration repositories.
    org.springframework.data.jdbc.repository.query.StringBasedJdbcQuery.setBeanFactory(BeanFactory)
    org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory.setApplicationEventPublisher(ApplicationEventPublisher)
    no longer used nor supported. Use JdbcRepositoryFactory(JdbcAggregateOperations) instead.
    org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory.setEntityCallbacks(EntityCallbacks)
    no longer used nor supported. Use JdbcRepositoryFactory(JdbcAggregateOperations) 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.query.QueryMapper.getMappedObject(Expression, RelationalPersistentEntity<?>)
    since 4.0 in favor of QueryMapper.getMappedObjects(Expression, RelationalPersistentEntity) where usage of embeddable properties can return more than one mapped result.
    org.springframework.data.relational.core.mapping.AggregatePath.TableInfo.reverseColumnInfo()
    since there might be more than one reverse column instead. Use AggregatePath.TableInfo.backReferenceColumnInfos() instead.
    org.springframework.data.relational.core.mapping.RelationalPersistentEntity.getIdColumn()
    because an entity may have multiple id columns. Use AggregatePath.getTableInfo().getIdColumnInfos() instead.
  • 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.support.JdbcRepositoryFactory(DataAccessStrategy, RelationalMappingContext, JdbcConverter, Dialect, ApplicationEventPublisher, NamedParameterJdbcOperations)
    use JdbcRepositoryFactory(JdbcAggregateOperations) for consistent configuration instead.
    org.springframework.data.relational.core.conversion.DbActionExecutionResult()
    Use one of the other constructors.
  • Deprecated Annotation Interface Elements
    Annotation Interface Element
    Description
    org.springframework.data.jdbc.repository.config.EnableJdbcRepositories.dataAccessStrategyRef()
    since 4.0 use EnableJdbcRepositories.jdbcAggregateOperationsRef() instead to ensure consistent configuration repositories.
    org.springframework.data.jdbc.repository.config.EnableJdbcRepositories.jdbcOperationsRef()
    since 4.0 use EnableJdbcRepositories.jdbcAggregateOperationsRef() instead to ensure consistent configuration repositories.

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