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 3.5, replacementDialectResolver
was moved to theorg.springframework.data.jdbc.core.dialect
package.since 3.5, replacementDialectResolver
was moved to theorg.springframework.data.jdbc.core.dialect
package.since 3.5, replacementDialectResolver
was moved to theorg.springframework.data.jdbc.core.dialect
package.since 3.5, replacementDialectResolver
was moved to theorg.springframework.data.jdbc.core.dialect
package.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.JdbcDb2Dialect
directly.use either theorg.springframework.data.r2dbc.dialect.H2Dialect
ororg.springframework.data.jdbc.core.dialect.JdbcH2Dialect
.use theorg.springframework.data.jdbc.core.dialect.JdbcHsqlDbDialect
directly.use either theorg.springframework.data.r2dbc.dialect.MySqlDialect
ororg.springframework.data.jdbc.core.dialect.JdbcMySqlDialect
Construct your ownIdentifierProcessing
. There is no one standard identifier processing for MySql.SeeIdentifier Case Sensitivity
use either theorg.springframework.data.r2dbc.dialect.OracleDialect
ororg.springframework.data.jdbc.core.dialect.JdbcOracleDialect
.use either theorg.springframework.data.r2dbc.dialect.PostgresDialect
ororg.springframework.data.jdbc.core.dialect.JdbcPostgresDialect
.use either theorg.springframework.data.r2dbc.dialect.SqlServerDialect
ororg.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, replacementDialectResolver
was moved to theorg.springframework.data.jdbc.core.dialect
package.since 3.5, replacementDialectResolver
was moved to theorg.springframework.data.jdbc.core.dialect
package.
-
Deprecated ClassesClassDescriptionsince 3.5, replacement
DialectResolver
was moved to theorg.springframework.data.jdbc.core.dialect
package.since 3.5, replacementDialectResolver
was moved to theorg.springframework.data.jdbc.core.dialect
package.
-
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.JdbcDb2Dialect
directly.use either theorg.springframework.data.r2dbc.dialect.H2Dialect
ororg.springframework.data.jdbc.core.dialect.JdbcH2Dialect
.use theorg.springframework.data.jdbc.core.dialect.JdbcHsqlDbDialect
directly.use either theorg.springframework.data.r2dbc.dialect.MySqlDialect
ororg.springframework.data.jdbc.core.dialect.JdbcMySqlDialect
Construct your ownIdentifierProcessing
. There is no one standard identifier processing for MySql.SeeIdentifier Case Sensitivity
use either theorg.springframework.data.r2dbc.dialect.OracleDialect
ororg.springframework.data.jdbc.core.dialect.JdbcOracleDialect
.use either theorg.springframework.data.r2dbc.dialect.PostgresDialect
ororg.springframework.data.jdbc.core.dialect.JdbcPostgresDialect
.use either theorg.springframework.data.r2dbc.dialect.SqlServerDialect
ororg.springframework.data.jdbc.core.dialect.JdbcSqlServerDialect
.
-
Deprecated MethodsMethodDescriptionsince 3.0, use
DelegatingDataAccessStrategy(DataAccessStrategy)
to avoid mutable state.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 asReactiveDataAccessStrategy
will be removed in a future release.since 1.2.DatabaseClient
encapsulates named parameter handling entirely.since 4.0 in favor ofQueryMapper.getMappedObjects(Expression, RelationalPersistentEntity)
where usage ofembeddable properties
can 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.