ナビゲーションリンクをスキップ
Spring Data Relational Parent
  • ホーム
  • 概要
  • パッケージ
  • クラス
  • 使用
  • ツリー
  • 非推奨
  • インデックス
  • ヘルプ

非推奨の API

内容

  • 最終的に非推奨
  • インターフェース
  • クラス
  • フィールド
  • メソッド
  • コンストラクター
  • 最終的に非推奨の要素
    要素
    説明
    org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy.setDelegate(DataAccessStrategy)
    3.0 以降、変更可能な状態を避けるために DelegatingDataAccessStrategy(DataAccessStrategy) を使用します。
    org.springframework.data.jdbc.core.convert.EntityRowMapper(PersistentPropertyPathExtension, JdbcConverter, Identifier)
    代わりに EntityRowMapper(AggregatePath, JdbcConverter, Identifier) を使用してください
    org.springframework.data.jdbc.core.convert.JdbcConverter.mapRow(PersistentPropertyPathExtension, ResultSet, Identifier, Object)
    代わりに JdbcConverter.readAndResolve(Class, RowDocument, Identifier) を使用してください。
    org.springframework.data.jdbc.core.convert.JdbcIdentifierBuilder.forBackReferences(JdbcConverter, PersistentPropertyPathExtension, Object)
    代わりに JdbcIdentifierBuilder.forBackReferences(JdbcConverter, AggregatePath, Object) を使用してください。
    org.springframework.data.jdbc.core.convert.SqlParametersFactory(RelationalMappingContext, JdbcConverter, Dialect)
    代わりに SqlParametersFactory(org.springframework.data.relational.core.mapping.RelationalMappingContext,org.springframework.data.jdbc.core.convert.JdbcConverter) を使用してください。
    org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy(SqlSession, IdentifierProcessing)
    identifierProcessing は SqlIdentifier に適用するプロセスでは考慮されなくなるため、代わりに MyBatisDataAccessStrategy(org.apache.ibatis.session.SqlSession) コンストラクターを使用します。
    org.springframework.data.r2dbc.query.QueryMapper.getMappedObject(Sort, RelationalPersistentEntity<?>)
    代替なし。
    org.springframework.data.relational.core.conversion.RowDocumentAccessor.document()
    3.2.6 以降、このメソッドは公開されることを意図していませんでした。代わりに RowDocumentAccessor.getDocument() を使用してください。
    org.springframework.data.relational.core.mapping.NamingStrategy.getReverseColumnName(PersistentPropertyPathExtension)
    代わりに NamingStrategy.getReverseColumnName(RelationalPersistentEntity) を使用してください。
    org.springframework.data.relational.core.mapping.NamingStrategy.INSTANCE
    代わりに DefaultNamingStrategy.INSTANCE を使用してください。
    org.springframework.data.relational.core.mapping.PersistentPropertyPathExtension
    代わりに AggregatePath を使用してください
    org.springframework.data.relational.core.mapping.RelationalPersistentProperty.getReverseColumnName(PersistentPropertyPathExtension)
    代わりに RelationalPersistentProperty.getReverseColumnName(RelationalPersistentEntity) を使用してください
    org.springframework.data.relational.core.sql.SqlIdentifier.getReference(IdentifierProcessing)
    3.1 以降は、代わりに #getReference() メソッドを使用してください。
  • 非推奨のインターフェース
    インターフェース
    説明
    org.springframework.data.r2dbc.core.ReactiveDataAccessStrategy
    1.2 以降、StatementMapper、UpdateMapper、R2dbcConverter を直接使用することに賛成しています。
  • 非推奨のクラス
    クラス
    説明
    org.springframework.data.jdbc.core.convert.BasicJdbcConverter
    3.2 以降は、名前が機能範囲の制限を提案しているため、代わりに MappingJdbcConverter を使用してください。
    org.springframework.data.jdbc.core.convert.BatchJdbcOperations
    3.2 以来。代わりに NamedParameterJdbcOperations.batchUpdate(java.lang.String, org.springframework.jdbc.core.namedparam.SqlParameterSource[]) メソッドを使用してください。
    org.springframework.data.relational.core.conversion.BasicRelationalConverter
    3.2 以降は、名前が機能範囲の制限を提案しているため、代わりに MappingRelationalConverter を使用してください。
    org.springframework.data.relational.core.mapping.PersistentPropertyPathExtension
    代わりに AggregatePath を使用してください
  • 非推奨のフィールド
    フィールド
    説明
    org.springframework.data.relational.core.mapping.NamingStrategy.INSTANCE
    代わりに DefaultNamingStrategy.INSTANCE を使用してください。
  • 非推奨のメソッド
    メソッド
    説明
    org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy.setDelegate(DataAccessStrategy)
    3.0 以降、変更可能な状態を避けるために DelegatingDataAccessStrategy(DataAccessStrategy) を使用します。
    org.springframework.data.jdbc.core.convert.JdbcConverter.mapRow(PersistentPropertyPathExtension, ResultSet, Identifier, Object)
    代わりに JdbcConverter.readAndResolve(Class, RowDocument, Identifier) を使用してください。
    org.springframework.data.jdbc.core.convert.JdbcConverter.mapRow(RelationalPersistentEntity<T>, ResultSet, Object)
    3.2 以降、代わりに JdbcConverter.readAndResolve(Class, RowDocument, Identifier) を使用してください。
    org.springframework.data.jdbc.core.convert.JdbcIdentifierBuilder.forBackReferences(JdbcConverter, PersistentPropertyPathExtension, Object)
    代わりに JdbcIdentifierBuilder.forBackReferences(JdbcConverter, AggregatePath, Object) を使用してください。
    org.springframework.data.jdbc.core.convert.JdbcIdentifierBuilder.withQualifier(PersistentPropertyPathExtension, Object)
    org.springframework.data.jdbc.core.JdbcAggregateOperations.delete(T, Class<T>)
    3.0 は代わりに JdbcAggregateOperations.delete(Object) を使用するため
    org.springframework.data.jdbc.core.JdbcAggregateOperations.deleteAll(Iterable<? extends T>, Class<T>)
    3.0 は代わりに JdbcAggregateOperations.deleteAll(Iterable) を使用するため。
    org.springframework.data.r2dbc.core.R2dbcEntityOperations.getDataAccessStrategy()
    ReactiveDataAccessStrategy は将来のリリースで削除されるため、代わりに R2dbcEntityOperations.getConverter() を使用してください。
    org.springframework.data.r2dbc.core.R2dbcEntityTemplate.setBeanFactory(BeanFactory)
    org.springframework.data.r2dbc.core.ReactiveDataAccessStrategy.processNamedParameters(String, ReactiveDataAccessStrategy.NamedParameterProvider)
    1.2 以降。DatabaseClient は、名前付きパラメーターの処理を完全にカプセル化します。
    org.springframework.data.r2dbc.core.StatementMapper.SelectSpec.getProjectedFields()
    1.1 以降、代わりに StatementMapper.SelectSpec.getSelectList() を使用してください。
    org.springframework.data.r2dbc.query.QueryMapper.getMappedObject(Sort, RelationalPersistentEntity<?>)
    代替なし。
    org.springframework.data.r2dbc.query.QueryMapper.getMappedObject(BindMarkers, Criteria, Table, RelationalPersistentEntity<?>)
    1.1 以降。
    org.springframework.data.relational.core.conversion.RelationalConverter.createInstance(PersistentEntity<T, RelationalPersistentProperty>, Function<Parameter<?, RelationalPersistentProperty>, Object>)
    3.2 以降は、代わりに RelationalConverter.read(java.lang.Class<R>, org.springframework.data.relational.domain.RowDocument) メソッドを使用してください。
    org.springframework.data.relational.core.conversion.RowDocumentAccessor.document()
    3.2.6 以降、このメソッドは公開されることを意図していませんでした。代わりに RowDocumentAccessor.getDocument() を使用してください。
    org.springframework.data.relational.core.mapping.NamingStrategy.getReverseColumnName(PersistentPropertyPathExtension)
    代わりに NamingStrategy.getReverseColumnName(RelationalPersistentEntity) を使用してください。
    org.springframework.data.relational.core.mapping.RelationalPersistentProperty.getReverseColumnName(PersistentPropertyPathExtension)
    代わりに RelationalPersistentProperty.getReverseColumnName(RelationalPersistentEntity) を使用してください
    org.springframework.data.relational.core.sql.SqlIdentifier.getReference(IdentifierProcessing)
    3.1 以降は、代わりに #getReference() メソッドを使用してください。
  • 非推奨のコンストラクター
    コンストラクター
    説明
    org.springframework.data.jdbc.core.convert.EntityRowMapper(PersistentPropertyPathExtension, JdbcConverter, Identifier)
    代わりに EntityRowMapper(AggregatePath, JdbcConverter, Identifier) を使用してください
    org.springframework.data.jdbc.core.convert.InsertStrategyFactory(NamedParameterJdbcOperations, BatchJdbcOperations, Dialect)
    3.2 以降、代わりに InsertStrategyFactory(NamedParameterJdbcOperations, Dialect) を使用してください。
    org.springframework.data.jdbc.core.convert.QueryMapper(Dialect, JdbcConverter)
    代わりに QueryMapper(org.springframework.data.jdbc.core.convert.JdbcConverter) を使用してください。
    org.springframework.data.jdbc.core.convert.SqlParametersFactory(RelationalMappingContext, JdbcConverter, Dialect)
    代わりに SqlParametersFactory(org.springframework.data.relational.core.mapping.RelationalMappingContext,org.springframework.data.jdbc.core.convert.JdbcConverter) を使用してください。
    org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy(SqlSession, IdentifierProcessing)
    identifierProcessing は SqlIdentifier に適用するプロセスでは考慮されなくなるため、代わりに MyBatisDataAccessStrategy(org.apache.ibatis.session.SqlSession) コンストラクターを使用します。
    org.springframework.data.relational.core.mapping.BasicRelationalPersistentProperty(Property, PersistentEntity<?, RelationalPersistentProperty>, SimpleTypeHolder, RelationalMappingContext)

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