Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionsince 3.0, use
DelegatingDataAccessStrategy(DataAccessStrategy)to avoid mutable state.since 3.5, replacement moved toJdbcArrayColumns.Use the constructor instead. There is no one correct MySqlDialect, since the behaviour of MySql depends on various configuration options. SeeIdentifier Case Sensitivity
since 4.0. UseJdbcAggregateOperations.findAll(Class, Sort)together withJdbcAggregateOperations.count(Class)to construct results of typePage.The API design is conflicts regarding pagination information. Also, pagination is primarily a feature of the repository and not the template API.since 4.0. UseJdbcAggregateOperations.findAll(Query, Class)together withJdbcAggregateOperations.count(Query, Class)to construct results of typePage. The API design is conflicts regarding pagination information. Also, pagination is primarily a feature of the repository and not the template API.since 3.5, replacementDialectResolverwas moved to theorg.springframework.data.jdbc.core.dialectpackage.since 3.5, replacementDialectResolverwas moved to theorg.springframework.data.jdbc.core.dialectpackage.since 3.5, replacementDialectResolverwas moved to theorg.springframework.data.jdbc.core.dialectpackage.since 3.5, replacementDialectResolverwas moved to theorg.springframework.data.jdbc.core.dialectpackage.useJdbcRepositoryFactory(JdbcAggregateOperations)for consistent configuration instead.no longer used nor supported. UseJdbcRepositoryFactory(JdbcAggregateOperations)instead.no longer used nor supported. UseJdbcRepositoryFactory(JdbcAggregateOperations)instead.Use one of the other constructors.use theorg.springframework.data.jdbc.core.dialect.JdbcDb2Dialectdirectly.use either theorg.springframework.data.r2dbc.dialect.H2Dialectororg.springframework.data.jdbc.core.dialect.JdbcH2Dialect.use theorg.springframework.data.jdbc.core.dialect.JdbcHsqlDbDialectdirectly.use either theorg.springframework.data.r2dbc.dialect.MySqlDialectororg.springframework.data.jdbc.core.dialect.JdbcMySqlDialectConstruct your ownIdentifierProcessing. There is no one standard identifier processing for MySql.SeeIdentifier Case Sensitivityuse either theorg.springframework.data.r2dbc.dialect.OracleDialectororg.springframework.data.jdbc.core.dialect.JdbcOracleDialect.use either theorg.springframework.data.r2dbc.dialect.PostgresDialectororg.springframework.data.jdbc.core.dialect.JdbcPostgresDialect.use either theorg.springframework.data.r2dbc.dialect.SqlServerDialectororg.springframework.data.jdbc.core.dialect.JdbcSqlServerDialect.since there might be more than one reverse column instead. UseAggregatePath.TableInfo.backReferenceColumnInfos()instead.because an entity may have multiple id columns. UseAggregatePath.getTableInfo().getIdColumnInfos()instead.
-
Deprecated InterfacesInterfaceDescriptionsince 3.5, replacement moved to
JdbcArrayColumns.since 3.5, replacementDialectResolverwas moved to theorg.springframework.data.jdbc.core.dialectpackage.since 3.5, replacementDialectResolverwas moved to theorg.springframework.data.jdbc.core.dialectpackage.
-
Deprecated ClassesClassDescriptionsince 3.5, replacement
DialectResolverwas moved to theorg.springframework.data.jdbc.core.dialectpackage.since 3.5, replacementDialectResolverwas moved to theorg.springframework.data.jdbc.core.dialectpackage.
-
Deprecated Exceptions
-
Deprecated FieldsFieldDescriptionUse the constructor instead. There is no one correct MySqlDialect, since the behaviour of MySql depends on various configuration options. See
Identifier Case Sensitivity
use theorg.springframework.data.jdbc.core.dialect.JdbcDb2Dialectdirectly.use either theorg.springframework.data.r2dbc.dialect.H2Dialectororg.springframework.data.jdbc.core.dialect.JdbcH2Dialect.use theorg.springframework.data.jdbc.core.dialect.JdbcHsqlDbDialectdirectly.use either theorg.springframework.data.r2dbc.dialect.MySqlDialectororg.springframework.data.jdbc.core.dialect.JdbcMySqlDialectConstruct your ownIdentifierProcessing. There is no one standard identifier processing for MySql.SeeIdentifier Case Sensitivityuse either theorg.springframework.data.r2dbc.dialect.OracleDialectororg.springframework.data.jdbc.core.dialect.JdbcOracleDialect.use either theorg.springframework.data.r2dbc.dialect.PostgresDialectororg.springframework.data.jdbc.core.dialect.JdbcPostgresDialect.use either theorg.springframework.data.r2dbc.dialect.SqlServerDialectororg.springframework.data.jdbc.core.dialect.JdbcSqlServerDialect.
-
Deprecated MethodsMethodDescriptionsince 3.0, use
DelegatingDataAccessStrategy(DataAccessStrategy)to avoid mutable state.since 4.0. UseJdbcAggregateOperations.findAll(Class, Sort)together withJdbcAggregateOperations.count(Class)to construct results of typePage.The API design is conflicts regarding pagination information. Also, pagination is primarily a feature of the repository and not the template API.since 4.0. UseJdbcAggregateOperations.findAll(Query, Class)together withJdbcAggregateOperations.count(Query, Class)to construct results of typePage. The API design is conflicts regarding pagination information. Also, pagination is primarily a feature of the repository and not the template API.since 4.0 useEnableJdbcRepositories.jdbcAggregateOperationsRef()instead to ensure consistent configuration repositories.since 4.0 useEnableJdbcRepositories.jdbcAggregateOperationsRef()instead to ensure consistent configuration repositories.no longer used nor supported. UseJdbcRepositoryFactory(JdbcAggregateOperations)instead.no longer used nor supported. UseJdbcRepositoryFactory(JdbcAggregateOperations)instead.useR2dbcEntityOperations.getConverter()instead asReactiveDataAccessStrategywill be removed in a future release.since 1.2.DatabaseClientencapsulates named parameter handling entirely.since 4.0 in favor ofQueryMapper.getMappedObjects(Expression, RelationalPersistentEntity)where usage ofembeddable propertiescan return more than one mapped result.since there might be more than one reverse column instead. UseAggregatePath.TableInfo.backReferenceColumnInfos()instead.because an entity may have multiple id columns. UseAggregatePath.getTableInfo().getIdColumnInfos()instead.
-
Deprecated ConstructorsConstructorDescriptionuse
JdbcRepositoryFactory(JdbcAggregateOperations)for consistent configuration instead.Use one of the other constructors.
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescriptionsince 4.0 use
EnableJdbcRepositories.jdbcAggregateOperationsRef()instead to ensure consistent configuration repositories.since 4.0 useEnableJdbcRepositories.jdbcAggregateOperationsRef()instead to ensure consistent configuration repositories.
DefaultJdbcTypeFactory(JdbcOperations, org.springframework.data.jdbc.core.dialect.JdbcArrayColumns)instead.