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

Deprecated API

Contents

  • Interfaces
  • Classes
  • Exceptions
  • Methods
  • Constructors
  • Annotation Interface Elements
  • Deprecated Interfaces
    Interface
    Description
    org.springframework.data.r2dbc.connectionfactory.ConnectionHandle
    since 1.2 in favor of Spring R2DBC without replacement.
    org.springframework.data.r2dbc.connectionfactory.ConnectionProxy
    since 1.2 in favor of Spring R2DBC. Use R2DBC's Wrapped mechanism instead.
    org.springframework.data.r2dbc.connectionfactory.init.DatabasePopulator
    since 1.2 in favor of Spring R2DBC. Use DatabasePopulator instead.
    org.springframework.data.r2dbc.connectionfactory.lookup.ConnectionFactoryLookup
    since 1.2 in favor of Spring R2DBC. Use ConnectionFactoryLookup instead.
    org.springframework.data.r2dbc.connectionfactory.SmartConnectionFactory
    since 1.2 in favor of Spring R2DBC without replacement.
    org.springframework.data.r2dbc.core.BindParameterSource
    since 1.2, without replacement.
    org.springframework.data.r2dbc.core.ConnectionAccessor
    since 1.2, use Spring R2DBC's DatabaseClient support instead.
    org.springframework.data.r2dbc.core.DatabaseClient
    since 1.2, use Spring R2DBC's DatabaseClient support instead.
    org.springframework.data.r2dbc.core.ExecuteFunction
    since 1.2, use Spring's ExecuteFunction support instead.
    org.springframework.data.r2dbc.core.FetchSpec
    since 1.2, use Spring's FetchSpec support instead.
    org.springframework.data.r2dbc.core.PreparedOperation
    since 1.2, use Spring R2DBC's PreparedOperation support instead.
    org.springframework.data.r2dbc.core.QueryOperation
    since 1.2, use Spring R2DBC's QueryOperation support instead.
    org.springframework.data.r2dbc.core.ReactiveDataAccessStrategy
    since 1.2 in favor of using direct usage of StatementMapper, UpdateMapper and R2dbcConverter.
    org.springframework.data.r2dbc.core.RowsFetchSpec
    since 1.2, use Spring's RowsFetchSpec support instead.
    org.springframework.data.r2dbc.core.SqlProvider
    since 1.2, use Spring's SqlProvider support instead.
    org.springframework.data.r2dbc.core.StatementFilterFunction
    since 1.2, use Spring's StatementFilterFunction support instead.
    org.springframework.data.r2dbc.core.UpdatedRowsFetchSpec
    since 1.2, use Spring's UpdatedRowsFetchSpec support instead.
    org.springframework.data.r2dbc.dialect.BindMarker
    since 1.2 in favor of Spring R2DBC. Use BindMarker instead.
    org.springframework.data.r2dbc.dialect.BindMarkers
    since 1.2 in favor of Spring R2DBC. Use BindMarkers instead.
    org.springframework.data.r2dbc.dialect.BindMarkersFactory
    since 1.2 in favor of Spring R2DBC. Use BindMarkersFactory instead.
    org.springframework.data.r2dbc.dialect.BindTarget
    since 1.2 in favor of Spring R2DBC. Use BindTarget instead.
    org.springframework.data.r2dbc.support.R2dbcExceptionTranslator
    since 1.2. Use Spring R2DBC's ConnectionFactoryUtils.convertR2dbcException(String, String, R2dbcException) instead.
  • Deprecated Classes
    Class
    Description
    org.springframework.data.r2dbc.connectionfactory.ConnectionFactoryUtils
    since 1.2 in favor of Spring R2DBC. Use ConnectionFactoryUtils instead.
    org.springframework.data.r2dbc.connectionfactory.ConnectionHolder
    since 1.2 in favor of Spring R2DBC. Use ConnectionHolder instead.
    org.springframework.data.r2dbc.connectionfactory.DelegatingConnectionFactory
    since 1.2 in favor of Spring R2DBC. Use DelegatingConnectionFactory instead.
    org.springframework.data.r2dbc.connectionfactory.init.CompositeDatabasePopulator
    since 1.2 in favor of Spring R2DBC. Use CompositeDatabasePopulator instead.
    org.springframework.data.r2dbc.connectionfactory.init.ConnectionFactoryInitializer
    since 1.2 in favor of Spring R2DBC. Use ConnectionFactoryInitializer instead.
    org.springframework.data.r2dbc.connectionfactory.init.DatabasePopulatorUtils
    since 1.2 in favor of Spring R2DBC. Use DatabasePopulator.populate(ConnectionFactory) instead.
    org.springframework.data.r2dbc.connectionfactory.init.ResourceDatabasePopulator
    since 1.2 in favor of Spring R2DBC. Use ResourceDatabasePopulator instead.
    org.springframework.data.r2dbc.connectionfactory.init.ScriptUtils
    since 1.2 in favor of Spring R2DBC. Use ScriptUtils instead.
    org.springframework.data.r2dbc.connectionfactory.lookup.AbstractRoutingConnectionFactory
    since 1.2 in favor of Spring R2DBC. Use AbstractRoutingConnectionFactory instead.
    org.springframework.data.r2dbc.connectionfactory.lookup.BeanFactoryConnectionFactoryLookup
    since 1.2 in favor of Spring R2DBC. Use BeanFactoryConnectionFactoryLookup instead.
    org.springframework.data.r2dbc.connectionfactory.lookup.MapConnectionFactoryLookup
    since 1.2 in favor of Spring R2DBC. Use MapConnectionFactoryLookup instead.
    org.springframework.data.r2dbc.connectionfactory.lookup.SingleConnectionFactoryLookup
    since 1.2 in favor of Spring R2DBC. Use SingleConnectionFactoryLookup instead.
    org.springframework.data.r2dbc.connectionfactory.R2dbcTransactionManager
    since 1.2 in favor of Spring R2DBC. Use R2dbcTransactionManager instead.
    org.springframework.data.r2dbc.connectionfactory.SimpleConnectionHandle
    since 1.2 in favor of Spring R2DBC. Use org.springframework.r2dbc.connection instead.
    org.springframework.data.r2dbc.connectionfactory.SingleConnectionConnectionFactory
    since 1.2 in favor of Spring R2DBC. Use SingleConnectionFactory instead.
    org.springframework.data.r2dbc.connectionfactory.TransactionAwareConnectionFactoryProxy
    since 1.2 in favor of Spring R2DBC. Use TransactionAwareConnectionFactoryProxy instead.
    org.springframework.data.r2dbc.convert.ColumnMapRowMapper
    since 1.2, use Spring R2DBC's ColumnMapRowMapper directly.
    org.springframework.data.r2dbc.core.NamedParameterExpander
    since 1.2, without replacement.
    org.springframework.data.r2dbc.dialect.Bindings
    since 1.2 in favor of Spring R2DBC. Use Bindings instead.
    org.springframework.data.r2dbc.dialect.MutableBindings
    since 1.2 in favor of Spring R2DBC. Use MutableBindings instead.
    org.springframework.data.r2dbc.mapping.SettableValue
    since 1.2, use Spring R2DBC's Parameter directly.
    org.springframework.data.r2dbc.query.Criteria
    since 1.1, use Criteria instead.
    org.springframework.data.r2dbc.query.Update
    since 1.1, use Update instead.
    org.springframework.data.r2dbc.support.AbstractFallbackR2dbcExceptionTranslator
    since 1.2. Use Spring R2DBC's ConnectionFactoryUtils.convertR2dbcException(String, String, R2dbcException) instead.
    org.springframework.data.r2dbc.support.R2dbcExceptionSubclassTranslator
    since 1.2. Use Spring R2DBC's ConnectionFactoryUtils.convertR2dbcException(String, String, R2dbcException) instead.
    org.springframework.data.r2dbc.support.SqlErrorCodeR2dbcExceptionTranslator
    since 1.2. Use Spring R2DBC's ConnectionFactoryUtils.convertR2dbcException(String, String, R2dbcException) instead.
    org.springframework.data.r2dbc.support.SqlStateR2dbcExceptionTranslator
    since 1.2. Use Spring R2DBC's ConnectionFactoryUtils.convertR2dbcException(String, String, R2dbcException) instead.
  • Deprecated Exceptions
    Exceptions
    Description
    org.springframework.data.r2dbc.BadSqlGrammarException
    since 1.2, use directly Spring R2DBC's BadSqlGrammarException instead.
    org.springframework.data.r2dbc.connectionfactory.init.CannotReadScriptException
    since 1.2 in favor of Spring R2DBC. Use CannotReadScriptException instead.
    org.springframework.data.r2dbc.connectionfactory.init.ScriptException
    since 1.2 in favor of Spring R2DBC. Use ScriptException instead.
    org.springframework.data.r2dbc.connectionfactory.init.ScriptParseException
    since 1.2 in favor of Spring R2DBC. Use ScriptParseException instead.
    org.springframework.data.r2dbc.connectionfactory.init.ScriptStatementFailedException
    since 1.2 in favor of Spring R2DBC. Use ScriptStatementFailedException instead.
    org.springframework.data.r2dbc.connectionfactory.init.UncategorizedScriptException
    since 1.2 in favor of Spring R2DBC. Use UncategorizedScriptException instead.
    org.springframework.data.r2dbc.connectionfactory.lookup.ConnectionFactoryLookupFailureException
    since 1.2 in favor of Spring R2DBC. Use ConnectionFactoryLookupFailureException instead.
    org.springframework.data.r2dbc.InvalidResultAccessException
    since 1.2, not in use anymore.
    org.springframework.data.r2dbc.UncategorizedR2dbcException
    since 1.2, use Spring R2DBC's UncategorizedR2dbcException instead.
  • Deprecated Methods
    Method
    Description
    org.springframework.data.r2dbc.core.DatabaseClient.GenericUpdateSpec.using(Update)
    since 1.1, use DatabaseClient.GenericUpdateSpec.using(org.springframework.data.relational.core.query.Update).
    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.getBindValue(SettableValue)
    since 1.2, use ReactiveDataAccessStrategy.getBindValue(Parameter) instead.
    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.InsertSpec.withColumn(String, SettableValue)
    since 1.2, use StatementMapper.InsertSpec.withColumn(String, Parameter) instead.
    org.springframework.data.r2dbc.core.StatementMapper.InsertSpec.withColumn(SqlIdentifier, SettableValue)
    since 1.2, use StatementMapper.InsertSpec.withColumn(SqlIdentifier, Parameter) instead.
    org.springframework.data.r2dbc.core.StatementMapper.SelectSpec.getProjectedFields()
    since 1.1, use StatementMapper.SelectSpec.getSelectList() instead.
    org.springframework.data.r2dbc.query.QueryMapper.getMappedObject(BindMarkers, Criteria, Table, RelationalPersistentEntity<?>)
    since 1.1.
    org.springframework.data.r2dbc.query.UpdateMapper.getMappedObject(BindMarkers, Update, Table, RelationalPersistentEntity<?>)
    since 1.1, use UpdateMapper.getMappedObject(BindMarkers, org.springframework.data.relational.core.query.Update, Table, RelationalPersistentEntity) instead.
    org.springframework.data.r2dbc.repository.config.EnableR2dbcRepositories.databaseClientRef()
    since 1.2, in favor of EnableR2dbcRepositories.entityOperationsRef().
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.data.r2dbc.convert.R2dbcCustomConversions(Collection<?>)
    since 1.3, use R2dbcCustomConversions.of(R2dbcDialect, Object...) or R2dbcCustomConversions(StoreConversions, Collection) directly to consider dialect-native simple types. Use CustomConversions.StoreConversions.NONE to omit store-specific converters.
    org.springframework.data.r2dbc.core.R2dbcEntityTemplate(DatabaseClient)
    since 1.2, use R2dbcEntityTemplate(DatabaseClient, R2dbcDialect) instead.
    org.springframework.data.r2dbc.core.R2dbcEntityTemplate(DatabaseClient, ReactiveDataAccessStrategy)
    since 1.2, use R2dbcEntityTemplate(DatabaseClient, ReactiveDataAccessStrategy) instead.
    org.springframework.data.r2dbc.repository.support.SimpleR2dbcRepository(RelationalEntityInformation<T, ID>, DatabaseClient, R2dbcConverter, ReactiveDataAccessStrategy)
    since 1.2.
  • Deprecated Annotation Interface Elements
    Annotation Interface Element
    Description
    org.springframework.data.r2dbc.repository.config.EnableR2dbcRepositories.databaseClientRef()
    since 1.2, in favor of EnableR2dbcRepositories.entityOperationsRef().

Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.