Package org.springframework.data.jdbc.core.convert
@NonNullApi
package org.springframework.data.jdbc.core.convert
JDBC-specific conversion classes.
-
ClassDescription
RelationalConverter
that uses aMappingContext
to apply basic conversion of relational values to property values.Counterpart toNamedParameterJdbcOperations
containing methods for performing batch updates with generated keys.Delegates each method to theDataAccessStrategy
s passed to the constructor in turn until the first that does not throw an exception.Abstraction for accesses to the database that should be implementable with a single SQL statement per method and relates to a single entity as opposed toJdbcAggregateOperations
which provides interactions related to complete aggregates.The defaultDataAccessStrategy
is to generate SQL statements based on metadata from the entity.AJdbcTypeFactory
that performs the conversion by utilizingJdbcOperations.execute(ConnectionCallback)
.Delegates all method calls to an instance set after construction.Maps aResultSet
to an entity of typeT
, including entities referenced.Identifier represents a composite id of an entity that may be composed of one or many parts.Represents an operation that accepts identifier key parts (name, value andtarget type
) defining a contract to consumeIdentifier
values.Factory which selects and builds the appropriateInsertStrategy
orBatchInsertStrategy
based on whether the insert is expected to generate ids.The subject of an insert, described by the entity instance and itsIdentifier
, where identifier contains information about data that needs to be considered for the insert but which is not part of the entity.ArrayColumns
that offer JDBC-specific functionality.DefaultArrayColumns
implementation for dialects that do not support array-typed columns.DefaultArrayColumns
implementation for dialects that do not support array-typed columns.Utility that determines the necessary type conversions between Java types used in the domain model and types compatible with JDBC drivers.AJdbcConverter
is responsible for converting for values to the native relational representation and vice versa.Value object to capture custom conversion.Builder forIdentifier
.Allows the creation of instances of database dependent types, e.g.Helper class to register JSR-310 specificConverter
implementations.MapsCriteriaDefinition
andSort
objects considering mapping metadata and dialect-specific conversion.Value object to represent a field and its meta-information.Extension ofQueryMapper.Field
to be backed with mapping metadata.Resolves relations within an aggregate.ProvidesSqlGenerator
s per domain type.Creates theSqlIdentifierParameterSource
for various SQL operations, dialect identifier processing rules and applicable converters.