Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractJdbcConfiguration - Class in org.springframework.data.jdbc.repository.config
-
Beans that must be registered for Spring Data JDBC to work.
- AbstractJdbcConfiguration() - Constructor for class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
- AbstractJdbcQuery - Class in org.springframework.data.jdbc.repository.query
-
Base class for queries based on a repository method.
- AbstractJdbcQuery.ConvertingRowMapper<T> - Class in org.springframework.data.jdbc.repository.query
- AbstractJdbcQuery.RowMapperFactory - Interface in org.springframework.data.jdbc.repository.query
-
Factory to create a
RowMapperfor a given class. - accept(SqlIdentifier, Object, Class<?>) - Method in interface org.springframework.data.jdbc.core.convert.Identifier.IdentifierConsumer
-
Performs this operation on the given arguments.
- acquireLockAll(LockMode, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- acquireLockAll(LockMode, Class<T>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Acquire a lock on all aggregates of the given domain type.
- acquireLockAll(LockMode, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- acquireLockAll(LockMode, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- acquireLockAll(LockMode, Class<T>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- acquireLockById(Object, LockMode, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- acquireLockById(Object, LockMode, Class<T>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Acquire a lock on the aggregate specified by id.
- acquireLockById(Object, LockMode, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- acquireLockById(Object, LockMode, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- acquireLockById(Object, LockMode, Class<T>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- afterPropertiesSet() - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
- AggregateReference<T,
ID> - Interface in org.springframework.data.jdbc.core.mapping -
A reference to the aggregate root of a different aggregate.
- AggregateReference.IdOnlyAggregateReference<T,
ID> - Class in org.springframework.data.jdbc.core.mapping -
An
AggregateReferencethat only holds the id of the referenced aggregate root. - and(SqlTypeMapping) - Method in interface org.springframework.data.jdbc.core.mapping.schema.SqlTypeMapping
-
Returns a composed
SqlTypeMappingthat represents a fallback of this type mapping and another. - auditorAwareRef() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcAuditing
-
Configures the
AuditorAwarebean to be used to lookup the current principal. - AUTOGENERATED_ID_TYPES - Static variable in class org.springframework.data.jdbc.core.mapping.JdbcSimpleTypes
B
- basePackageClasses() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
-
Type-safe alternative to
EnableJdbcRepositories.basePackages()for specifying the packages to scan for annotated components. - basePackages() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
-
Base packages to scan for annotated components.
- BasicJdbcPersistentProperty - Class in org.springframework.data.jdbc.core.mapping
-
Extension to
BasicRelationalPersistentProperty. - BasicJdbcPersistentProperty(Property, PersistentEntity<?, RelationalPersistentProperty>, SimpleTypeHolder, NamingStrategy) - Constructor for class org.springframework.data.jdbc.core.mapping.BasicJdbcPersistentProperty
-
Creates a new
BasicJdbcPersistentProperty. - build() - Method in class org.springframework.data.jdbc.core.convert.JdbcIdentifierBuilder
C
- CascadingDataAccessStrategy - Class in org.springframework.data.jdbc.core.convert
-
Delegates each method to the
DataAccessStrategys passed to the constructor in turn until the first that does not throw an exception. - CascadingDataAccessStrategy(List<DataAccessStrategy>) - Constructor for class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- considerNestedRepositories() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
-
Configures whether nested repository-interfaces (e.g. defined as inner classes) should be discovered by the repositories infrastructure.
- convert(Timestamp) - Method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToInstantConverter
- convert(Timestamp) - Method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToLocalDateConverter
- convert(Timestamp) - Method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToLocalDateTimeConverter
- convert(Timestamp) - Method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToLocalTimeConverter
- convert(Instant) - Method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.InstantToTimestampConverter
- convert(LocalDate) - Method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.LocalDateToTimestampConverter
- convert(LocalDateTime) - Method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.LocalDateTimeToTimestampConverter
- convert(LocalTime) - Method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.LocalTimeToTimestampConverter
- ConvertingRowMapper(RowMapper<T>, Converter<Object, Object>) - Constructor for class org.springframework.data.jdbc.repository.query.AbstractJdbcQuery.ConvertingRowMapper
- convertValue(Object, TypeInformation<?>) - Method in class org.springframework.data.jdbc.core.convert.QueryMapper
- count() - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- count(Class<?>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- count(Class<?>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Counts the rows in the table representing the given domain type.
- count(Class<?>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- count(Class<?>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- count(Class<?>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Counts the number of aggregates of a given type.
- count(Class<?>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- count(Class<?>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- count(Example<S>) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- count(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- count(Query, Class<T>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Counts the rows in the table representing the given probe type, that match the given
query. - count(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- count(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- count(Query, Class<T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Counts the number of aggregates of a given type that match the given
query. - count(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- count(Query, Class<T>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- create() - Method in class org.springframework.data.jdbc.core.convert.DataAccessStrategyFactory
-
Creates a new
DataAccessStrategy. - create(Class<?>) - Method in interface org.springframework.data.jdbc.repository.query.AbstractJdbcQuery.RowMapperFactory
-
Create a
RowMapperbased on the expected return type passed in as an argument. - createArray(Object[]) - Method in class org.springframework.data.jdbc.core.convert.DefaultJdbcTypeFactory
- createArray(Object[]) - Method in interface org.springframework.data.jdbc.core.convert.JdbcTypeFactory
-
Converts the provided value in a
Arrayinstance. - createChangeSet(LiquibaseChangeSetWriter.ChangeSetMetadata, DatabaseChangeLog) - Method in class org.springframework.data.jdbc.core.mapping.schema.LiquibaseChangeSetWriter
-
Creates an initial ChangeSet.
- createChangeSet(LiquibaseChangeSetWriter.ChangeSetMetadata, Database, DatabaseChangeLog) - Method in class org.springframework.data.jdbc.core.mapping.schema.LiquibaseChangeSetWriter
-
Creates a diff ChangeSet by comparing
Databasewithmapped entities. - createCombinedAccessStrategy(RelationalMappingContext, JdbcConverter, NamedParameterJdbcOperations, SqlSession, NamespaceStrategy, Dialect) - Static method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
-
Create a
DataAccessStrategythat first checks for queries defined by MyBatis and if it doesn't find one uses aDefaultDataAccessStrategy - createCombinedAccessStrategy(RelationalMappingContext, JdbcConverter, NamedParameterJdbcOperations, SqlSession, Dialect) - Static method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
-
Create a
DataAccessStrategythat first checks for queries defined by MyBatis and if it doesn't find one uses aDefaultDataAccessStrategy - createFrom(List<RelationalParameters.RelationalParameter>) - Method in class org.springframework.data.jdbc.repository.query.JdbcParameters
- createParameters(ParametersSource) - Method in class org.springframework.data.jdbc.repository.query.JdbcQueryMethod
- createPersistentProperty(Property, RelationalPersistentEntity<?>, SimpleTypeHolder) - Method in class org.springframework.data.jdbc.core.mapping.JdbcMappingContext
D
- DataAccessStrategy - Interface in org.springframework.data.jdbc.core.convert
-
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 to
JdbcAggregateOperationswhich provides interactions related to complete aggregates. - dataAccessStrategyBean(NamedParameterJdbcOperations, JdbcConverter, JdbcMappingContext, Dialect) - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
- dataAccessStrategyBean(NamedParameterJdbcOperations, JdbcConverter, JdbcMappingContext, Dialect) - Method in class org.springframework.data.jdbc.repository.config.MyBatisJdbcConfiguration
- DataAccessStrategyFactory - Class in org.springframework.data.jdbc.core.convert
-
Factory to create a
DataAccessStrategybased on the configuration of the provided components. - DataAccessStrategyFactory(SqlGeneratorSource, JdbcConverter, NamedParameterJdbcOperations, SqlParametersFactory, InsertStrategyFactory) - Constructor for class org.springframework.data.jdbc.core.convert.DataAccessStrategyFactory
-
Creates a new
DataAccessStrategyFactory. - dataAccessStrategyRef() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
-
Configures the name of the
DataAccessStrategybean definition to be used to create repositories discovered through this annotation. - dateTimeProviderRef() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcAuditing
-
Configures a
DateTimeProviderbean name that allows customizing theLocalDateTimeto be used for setting creation and modification dates. - DEFAULT_AUTHOR - Static variable in class org.springframework.data.jdbc.core.mapping.schema.LiquibaseChangeSetWriter
- DEFAULT_INSTANCE - Static variable in interface org.springframework.data.jdbc.mybatis.NamespaceStrategy
- DefaultDataAccessStrategy - Class in org.springframework.data.jdbc.core.convert
-
The default
DataAccessStrategyis to generate SQL statements based on metadata from the entity. - DefaultDataAccessStrategy(SqlGeneratorSource, RelationalMappingContext, JdbcConverter, NamedParameterJdbcOperations, SqlParametersFactory, InsertStrategyFactory) - Constructor for class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
-
Creates a
DefaultDataAccessStrategy - DefaultDialectProvider() - Constructor for class org.springframework.data.jdbc.repository.config.DialectResolver.DefaultDialectProvider
- DefaultJdbcTypeFactory - Class in org.springframework.data.jdbc.core.convert
-
A
JdbcTypeFactorythat performs the conversion by utilizingJdbcOperations.execute(ConnectionCallback). - DefaultJdbcTypeFactory(JdbcOperations) - Constructor for class org.springframework.data.jdbc.core.convert.DefaultJdbcTypeFactory
-
Creates a new
DefaultJdbcTypeFactory. - DefaultJdbcTypeFactory(JdbcOperations, JdbcArrayColumns) - Constructor for class org.springframework.data.jdbc.core.convert.DefaultJdbcTypeFactory
-
Creates a new
DefaultJdbcTypeFactory. - DefaultQueryMappingConfiguration - Class in org.springframework.data.jdbc.repository.config
-
A
QueryMappingConfigurationthat allows for registration ofRowMappers andResultSetExtractors via a fluent Api. - DefaultQueryMappingConfiguration() - Constructor for class org.springframework.data.jdbc.repository.config.DefaultQueryMappingConfiguration
- DefaultSqlTypeMapping - Class in org.springframework.data.jdbc.core.mapping.schema
-
Class that provides a default implementation of mapping Java type to a Database type.
- DefaultSqlTypeMapping() - Constructor for class org.springframework.data.jdbc.core.mapping.schema.DefaultSqlTypeMapping
- DelegatingDataAccessStrategy - Class in org.springframework.data.jdbc.core.convert
-
Delegates all method calls to an instance set after construction.
- DelegatingDataAccessStrategy() - Constructor for class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- DelegatingDataAccessStrategy(DataAccessStrategy) - Constructor for class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- delete(Iterable<Object>, Class<?>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- delete(Iterable<Object>, Class<?>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Deletes multiple rows identified by the ids, from the table identified by the domainType.
- delete(Iterable<Object>, Class<?>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- delete(Iterable<Object>, Class<?>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- delete(Iterable<Object>, Class<?>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- delete(Iterable<Object>, PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- delete(Iterable<Object>, PersistentPropertyPath<RelationalPersistentProperty>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Deletes all entities reachable via propertyPath from the instances identified by rootIds.
- delete(Iterable<Object>, PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- delete(Iterable<Object>, PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- delete(Iterable<Object>, PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- delete(Object, Class<?>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- delete(Object, Class<?>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Deletes a single row identified by the id, from the table identified by the domainType.
- delete(Object, Class<?>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- delete(Object, Class<?>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- delete(Object, Class<?>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- delete(Object, PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- delete(Object, PersistentPropertyPath<RelationalPersistentProperty>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Deletes all entities reachable via propertyPath from the instance identified by rootId.
- delete(Object, PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- delete(Object, PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- delete(Object, PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- delete(S) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- delete(T) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Delete an aggregate identified by its aggregate root.
- delete(T) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- deleteAll() - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- deleteAll(Class<?>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Delete all aggregates of a given type.
- deleteAll(Class<?>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- deleteAll(Class<T>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- deleteAll(Class<T>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Deletes all entities of the given domain type.
- deleteAll(Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- deleteAll(Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- deleteAll(Class<T>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- deleteAll(Iterable<? extends T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Delete all aggregates identified by their aggregate roots.
- deleteAll(Iterable<? extends T>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- deleteAll(Iterable<? extends T>) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- deleteAll(PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- deleteAll(PersistentPropertyPath<RelationalPersistentProperty>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Deletes all entities reachable via propertyPath from any instance.
- deleteAll(PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- deleteAll(PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- deleteAll(PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- deleteAllById(Iterable<?>, Class<T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Deletes all aggregates identified by their aggregate root ids.
- deleteAllById(Iterable<?>, Class<T>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- deleteAllById(Iterable<? extends ID>) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- deleteById(ID) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- deleteById(Object, Class<S>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- deleteById(Object, Class<T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Deletes a single Aggregate including all entities contained in that aggregate.
- deleteWithVersion(Object, Class<T>, Number) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- deleteWithVersion(Object, Class<T>, Number) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Deletes a single entity from the database and enforce optimistic record locking using the version property.
- deleteWithVersion(Object, Class<T>, Number) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- deleteWithVersion(Object, Class<T>, Number) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- deleteWithVersion(Object, Class<T>, Number) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- describedBy(T, Identifier) - Static method in class org.springframework.data.jdbc.core.convert.InsertSubject
- DialectResolver - Class in org.springframework.data.jdbc.repository.config
-
Resolves a
Dialect. - DialectResolver.DefaultDialectProvider - Class in org.springframework.data.jdbc.repository.config
- DialectResolver.JdbcDialectProvider - Interface in org.springframework.data.jdbc.repository.config
-
SPI to extend Spring's default JDBC Dialect discovery mechanism.
- DialectResolver.NoDialectException - Exception in org.springframework.data.jdbc.repository.config
-
Exception thrown when
DialectResolvercannot resolve aDialect. - doCreateRepositoryFactory() - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
-
Creates the actual
RepositoryFactorySupportinstance.
E
- empty() - Static method in class org.springframework.data.jdbc.core.convert.Identifier
-
Returns an empty
Identifier. - empty() - Static method in class org.springframework.data.jdbc.core.convert.JdbcIdentifierBuilder
- EMPTY - Static variable in interface org.springframework.data.jdbc.repository.QueryMappingConfiguration
-
An immutable empty instance that will return null for all arguments.
- EnableJdbcAuditing - Annotation Interface in org.springframework.data.jdbc.repository.config
-
Annotation to enable auditing in JDBC via annotation configuration.
- EnableJdbcRepositories - Annotation Interface in org.springframework.data.jdbc.repository.config
-
Annotation to enable JDBC repositories.
- EntityRowMapper<T> - Class in org.springframework.data.jdbc.core.convert
-
Maps a
ResultSetto an entity of typeT, including entities referenced. - EntityRowMapper(AggregatePath, JdbcConverter, Identifier) - Constructor for class org.springframework.data.jdbc.core.convert.EntityRowMapper
- EntityRowMapper(RelationalPersistentEntity<T>, JdbcConverter) - Constructor for class org.springframework.data.jdbc.core.convert.EntityRowMapper
- equals(Object) - Method in class org.springframework.data.jdbc.core.convert.Identifier
- equals(Object) - Method in class org.springframework.data.jdbc.core.convert.InsertSubject
- equals(Object) - Method in class org.springframework.data.jdbc.core.mapping.AggregateReference.IdOnlyAggregateReference
- equals(Object) - Method in class org.springframework.data.jdbc.core.mapping.JdbcValue
- excludeFilters() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
-
Specifies which types are not eligible for component scanning.
- execute(Object[]) - Method in class org.springframework.data.jdbc.repository.query.PartTreeJdbcQuery
- execute(Object[]) - Method in class org.springframework.data.jdbc.repository.query.StringBasedJdbcQuery
- exists(Example<S>) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- exists(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- exists(Query, Class<T>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Determine whether there is an aggregate of type
domainTypethat matches the providedQuery. - exists(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- exists(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- exists(Query, Class<T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Determine whether there are aggregates that match the
Query - exists(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- exists(Query, Class<T>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- existsById(ID) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- existsById(Object, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- existsById(Object, Class<T>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
returns if a row with the given id exists for the given type.
- existsById(Object, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- existsById(Object, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- existsById(Object, Class<T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Checks if an aggregate identified by type and id exists in the database.
- existsById(Object, Class<T>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- existsById(Object, Class<T>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
F
- findAll() - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- findAll(Class<T>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- findAll(Class<T>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Loads all entities of the given type.
- findAll(Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- findAll(Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- findAll(Class<T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Load all aggregates of a given type.
- findAll(Class<T>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- findAll(Class<T>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- findAll(Class<T>, Pageable) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- findAll(Class<T>, Pageable) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Loads all entities of the given type, paged and sorted.
- findAll(Class<T>, Pageable) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- findAll(Class<T>, Pageable) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- findAll(Class<T>, Pageable) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Load a page of (potentially sorted) aggregates of a given type.
- findAll(Class<T>, Pageable) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- findAll(Class<T>, Pageable) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- findAll(Class<T>, Sort) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- findAll(Class<T>, Sort) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Loads all entities of the given type, sorted.
- findAll(Class<T>, Sort) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- findAll(Class<T>, Sort) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- findAll(Class<T>, Sort) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Load all aggregates of a given type, sorted.
- findAll(Class<T>, Sort) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- findAll(Class<T>, Sort) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- findAll(Example<S>) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- findAll(Example<S>, Pageable) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- findAll(Example<S>, Sort) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- findAll(Pageable) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- findAll(Sort) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- findAll(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- findAll(Query, Class<T>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Execute a
SELECTquery and convert the resulting items to aIterable. - findAll(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- findAll(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- findAll(Query, Class<T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Execute a
SELECTquery and convert the resulting items to aListthat is sorted. - findAll(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- findAll(Query, Class<T>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- findAll(Query, Class<T>, Pageable) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- findAll(Query, Class<T>, Pageable) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Execute a
SELECTquery and convert the resulting items to aIterable. - findAll(Query, Class<T>, Pageable) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- findAll(Query, Class<T>, Pageable) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- findAll(Query, Class<T>, Pageable) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Returns a
Pageof entities matching the givenQuery. - findAll(Query, Class<T>, Pageable) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- findAll(Query, Class<T>, Pageable) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- findAllById(Iterable<?>, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- findAllById(Iterable<?>, Class<T>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Loads all entities that match one of the ids passed as an argument.
- findAllById(Iterable<?>, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- findAllById(Iterable<?>, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- findAllById(Iterable<?>, Class<T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Load all aggregates of a given type that are identified by the given ids.
- findAllById(Iterable<?>, Class<T>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- findAllById(Iterable<?>, Class<T>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- findAllById(Iterable<ID>) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- findAllByPath(Identifier, PersistentPropertyPath<? extends RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- findAllByPath(Identifier, PersistentPropertyPath<? extends RelationalPersistentProperty>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
- findAllByPath(Identifier, PersistentPropertyPath<? extends RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- findAllByPath(Identifier, PersistentPropertyPath<? extends RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- findAllByPath(Identifier, PersistentPropertyPath<? extends RelationalPersistentProperty>) - Method in interface org.springframework.data.jdbc.core.convert.RelationResolver
-
Finds all entities reachable via path.
- findAllByPath(Identifier, PersistentPropertyPath<? extends RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- findBy(Example<S>, Function<FluentQuery.FetchableFluentQuery<S>, R>) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- findById(ID) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- findById(Object, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- findById(Object, Class<T>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Loads a single entity identified by type and id.
- findById(Object, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- findById(Object, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- findById(Object, Class<T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Load an aggregate from the database.
- findById(Object, Class<T>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- findById(Object, Class<T>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- findOne(Example<S>) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- findOne(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- findOne(Query, Class<T>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Execute a
SELECTquery and convert the resulting item to an entity ensuring exactly one result. - findOne(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- findOne(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- findOne(Query, Class<T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Execute a
SELECTquery and convert the resulting item to an entity ensuring exactly one result. - findOne(Query, Class<T>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- findOne(Query, Class<T>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- forBackReferences(JdbcConverter, AggregatePath, Object) - Static method in class org.springframework.data.jdbc.core.convert.JdbcIdentifierBuilder
-
Creates ParentKeys with backreference for the given path and value of the parents id.
- forEach(Identifier.IdentifierConsumer) - Method in class org.springframework.data.jdbc.core.convert.Identifier
-
Performs the given action for each element of the
Identifieruntil all elements have been processed or the action throws an exception. - from(Map<SqlIdentifier, Object>) - Static method in class org.springframework.data.jdbc.core.convert.Identifier
-
Creates an
Identifierfrom aMapof name to value tuples.
G
- get(String) - Method in class org.springframework.data.jdbc.mybatis.MyBatisContext
-
Returns a value for the given key.
- get(SqlIdentifier) - Method in class org.springframework.data.jdbc.core.convert.Identifier
- getActualSqlType() - Method in class org.springframework.data.jdbc.repository.query.JdbcParameters.JdbcParameter
- getArraySupport() - Method in interface org.springframework.data.jdbc.core.dialect.JdbcDialect
-
Returns the JDBC specific array support object that describes how array-typed columns are supported by this dialect.
- getArraySupport() - Method in class org.springframework.data.jdbc.core.dialect.JdbcPostgresDialect
- getArrayType(Class<?>) - Method in interface org.springframework.data.jdbc.core.convert.JdbcArrayColumns
- getArrayTypeName(SQLType) - Method in enum class org.springframework.data.jdbc.core.convert.JdbcArrayColumns.DefaultSupport
- getArrayTypeName(SQLType) - Method in interface org.springframework.data.jdbc.core.convert.JdbcArrayColumns
- getArrayTypeName(SQLType) - Method in enum class org.springframework.data.jdbc.core.convert.JdbcArrayColumns.Unsupported
- getColumnType(Class<?>) - Method in class org.springframework.data.jdbc.core.mapping.schema.DefaultSqlTypeMapping
- getColumnType(Class<?>) - Method in interface org.springframework.data.jdbc.core.mapping.schema.SqlTypeMapping
-
Determines a column type for Class.
- getColumnType(RelationalPersistentProperty) - Method in interface org.springframework.data.jdbc.core.convert.JdbcConverter
-
The type to be used to store this property in the database.
- getColumnType(RelationalPersistentProperty) - Method in class org.springframework.data.jdbc.core.convert.MappingJdbcConverter
- getColumnType(RelationalPersistentProperty) - Method in class org.springframework.data.jdbc.core.mapping.schema.DefaultSqlTypeMapping
- getColumnType(RelationalPersistentProperty) - Method in interface org.springframework.data.jdbc.core.mapping.schema.SqlTypeMapping
-
Determines a column type for a persistent property.
- getConverters() - Method in class org.springframework.data.jdbc.core.dialect.JdbcDb2Dialect
- getConverters() - Method in class org.springframework.data.jdbc.core.dialect.JdbcMySqlDialect
- getConverters() - Method in class org.springframework.data.jdbc.core.dialect.JdbcSqlServerDialect
- getConvertersToRegister() - Static method in class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters
-
Returns the converters to be registered.
- getDialect() - Method in class org.springframework.data.jdbc.core.convert.SqlGeneratorSource
- getDialect(JdbcOperations) - Method in class org.springframework.data.jdbc.repository.config.DialectResolver.DefaultDialectProvider
- getDialect(JdbcOperations) - Static method in class org.springframework.data.jdbc.repository.config.DialectResolver
-
Retrieve a
Dialectby inspecting aConnection. - getDialect(JdbcOperations) - Method in interface org.springframework.data.jdbc.repository.config.DialectResolver.JdbcDialectProvider
-
Returns a
Dialectfor aDataSource. - getDomainType() - Method in class org.springframework.data.jdbc.mybatis.MyBatisContext
-
The domain type of the entity to query or act upon.
- getEntityInformation() - Method in class org.springframework.data.jdbc.repository.query.JdbcQueryMethod
- getEntityInformation(Class<T>) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory
- getFirst(int, List<T>) - Static method in class org.springframework.data.jdbc.repository.support.ScrollDelegate
-
Return the first
countitems from the list. - getId() - Method in interface org.springframework.data.jdbc.core.mapping.AggregateReference
- getId() - Method in class org.springframework.data.jdbc.core.mapping.AggregateReference.IdOnlyAggregateReference
- getId() - Method in class org.springframework.data.jdbc.mybatis.MyBatisContext
-
The ID of the entity to query/act upon.
- getIdentifier() - Method in class org.springframework.data.jdbc.core.convert.InsertSubject
- getIdentifier() - Method in class org.springframework.data.jdbc.mybatis.MyBatisContext
-
The
Identifierfor a path to query. - getIdentifyingAnnotations() - Method in class org.springframework.data.jdbc.repository.config.JdbcRepositoryConfigExtension
-
In strict mode only domain types having a
Tableannotation get a repository. - getInitialEntitySet() - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
-
Scans the mapping base package for classes annotated with
Table. - getInstance() - Method in class org.springframework.data.jdbc.core.convert.InsertSubject
- getInstance() - Method in class org.springframework.data.jdbc.mybatis.MyBatisContext
-
The entity to act upon.
- getJdbcType() - Method in class org.springframework.data.jdbc.core.mapping.JdbcValue
- getMappedColumnName() - Method in class org.springframework.data.jdbc.core.convert.QueryMapper.Field
-
Returns the key to be used in the mapped document eventually.
- getMappedColumnName() - Method in class org.springframework.data.jdbc.core.convert.QueryMapper.MetadataBackedField
- getMappedObject(MapSqlParameterSource, CriteriaDefinition, Table, RelationalPersistentEntity<?>) - Method in class org.springframework.data.jdbc.core.convert.QueryMapper
-
Map a
CriteriaDefinitionobject intoConditionand consider value/NULLbindings. - getMappedSort(Table, Sort, RelationalPersistentEntity<?>) - Method in class org.springframework.data.jdbc.core.convert.QueryMapper
-
Map the
Sortobject to apply field name mapping usingthe type to read. - getMappingBasePackages() - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
-
Returns the base packages to scan for JDBC mapped entities at startup.
- getMappingContext() - Method in interface org.springframework.data.jdbc.core.convert.JdbcConverter
- getMappingContext() - Method in class org.springframework.data.jdbc.core.convert.QueryMapper
- getModuleIdentifier() - Method in class org.springframework.data.jdbc.repository.config.JdbcRepositoryConfigExtension
- getModuleName() - Method in class org.springframework.data.jdbc.repository.config.JdbcRepositoryConfigExtension
- getModulePrefix() - Method in class org.springframework.data.jdbc.repository.config.JdbcRepositoryConfigExtension
- getNamedQueryName() - Method in class org.springframework.data.jdbc.repository.query.JdbcQueryMethod
- getNamespace(Class<?>) - Method in interface org.springframework.data.jdbc.mybatis.NamespaceStrategy
-
Get a namespace that corresponds to the given domain type.
- getParameter(int) - Method in class org.springframework.data.jdbc.repository.query.JdbcParameters
- getParameters() - Method in class org.springframework.data.jdbc.repository.query.JdbcQueryMethod
- getParts() - Method in class org.springframework.data.jdbc.core.convert.Identifier
- getPath() - Method in class org.springframework.data.jdbc.core.convert.QueryMapper.MetadataBackedField
- getQueryLookupStrategy(QueryLookupStrategy.Key, ValueExpressionDelegate) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory
- getQueryMethod() - Method in class org.springframework.data.jdbc.repository.query.AbstractJdbcQuery
- getRepositoryBaseClass(RepositoryMetadata) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory
- getRepositoryFactoryBeanClassName() - Method in class org.springframework.data.jdbc.repository.config.JdbcRepositoryConfigExtension
- getRequiredColumnType(RelationalPersistentProperty) - Method in interface org.springframework.data.jdbc.core.mapping.schema.SqlTypeMapping
-
Returns the required column type for a persistent property or throws
IllegalArgumentExceptionif the type cannot be determined. - getRequiredQuery() - Method in class org.springframework.data.jdbc.repository.query.JdbcQueryMethod
- getResultSetExtractor(String) - Method in interface org.springframework.data.jdbc.repository.query.AbstractJdbcQuery.RowMapperFactory
-
Obtain a
ResultSetExtractorfrom some other source, typically aBeanFactory. - getRowMapper(Class<T>) - Method in class org.springframework.data.jdbc.repository.config.DefaultQueryMappingConfiguration
- getRowMapper(Class<T>) - Method in interface org.springframework.data.jdbc.repository.QueryMappingConfiguration
- getRowMapper(String) - Method in interface org.springframework.data.jdbc.repository.query.AbstractJdbcQuery.RowMapperFactory
-
Obtain a
RowMapperfrom some other source, typically aBeanFactory. - getSqlType() - Method in class org.springframework.data.jdbc.core.convert.QueryMapper.Field
- getSqlType() - Method in class org.springframework.data.jdbc.core.convert.QueryMapper.MetadataBackedField
- getSqlType() - Method in class org.springframework.data.jdbc.repository.query.JdbcParameters.JdbcParameter
- getSqlType(Class<?>) - Method in interface org.springframework.data.jdbc.core.convert.JdbcArrayColumns
-
Determine the
SQLTypefor a givenarray component type. - getTargetRepository(RepositoryInformation) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory
- getTargetSqlType(RelationalPersistentProperty) - Method in interface org.springframework.data.jdbc.core.convert.JdbcConverter
-
The SQL type constant used when using this property as a parameter for a SQL statement.
- getTargetSqlType(RelationalPersistentProperty) - Method in class org.springframework.data.jdbc.core.convert.MappingJdbcConverter
- getTypeHint() - Method in class org.springframework.data.jdbc.core.convert.QueryMapper.Field
- getTypeHint() - Method in class org.springframework.data.jdbc.core.convert.QueryMapper.MetadataBackedField
- getValue() - Method in class org.springframework.data.jdbc.core.mapping.JdbcValue
H
- hasAnnotatedQuery() - Method in class org.springframework.data.jdbc.repository.query.JdbcQueryMethod
- hasAnnotatedQueryName() - Method in class org.springframework.data.jdbc.repository.query.JdbcQueryMethod
- hashCode() - Method in class org.springframework.data.jdbc.core.convert.Identifier
- hashCode() - Method in class org.springframework.data.jdbc.core.convert.InsertSubject
- hashCode() - Method in class org.springframework.data.jdbc.core.mapping.AggregateReference.IdOnlyAggregateReference
- hashCode() - Method in class org.springframework.data.jdbc.core.mapping.JdbcValue
- hasLockMode() - Method in class org.springframework.data.jdbc.repository.query.JdbcQueryMethod
- HOLDER - Static variable in class org.springframework.data.jdbc.core.mapping.JdbcSimpleTypes
I
- Identifier - Class in org.springframework.data.jdbc.core.convert
-
Identifier represents a composite id of an entity that may be composed of one or many parts.
- Identifier.IdentifierConsumer - Interface in org.springframework.data.jdbc.core.convert
-
Represents an operation that accepts identifier key parts (name, value and
target type) defining a contract to consumeIdentifiervalues. - IdOnlyAggregateReference(ID) - Constructor for class org.springframework.data.jdbc.core.mapping.AggregateReference.IdOnlyAggregateReference
- includeFilters() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
-
Specifies which types are eligible for component scanning.
- insert(List<InsertSubject<T>>, Class<T>, IdValueSource) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- insert(List<InsertSubject<T>>, Class<T>, IdValueSource) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Inserts the data of multiple entities.
- insert(List<InsertSubject<T>>, Class<T>, IdValueSource) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- insert(List<InsertSubject<T>>, Class<T>, IdValueSource) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- insert(List<InsertSubject<T>>, Class<T>, IdValueSource) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- insert(T) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Dedicated insert function.
- insert(T) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
-
Dedicated insert function to do just the insert of an instance of an aggregate, including all the members of the aggregate.
- insert(T, Class<T>, Identifier, IdValueSource) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- insert(T, Class<T>, Identifier, IdValueSource) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Inserts the data of a single entity.
- insert(T, Class<T>, Identifier, IdValueSource) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- insert(T, Class<T>, Identifier, IdValueSource) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- insert(T, Class<T>, Identifier, IdValueSource) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- insertAll(Iterable<T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Inserts all aggregate instances, including all the members of each aggregate instance.
- insertAll(Iterable<T>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- InsertStrategyFactory - Class in org.springframework.data.jdbc.core.convert
-
Factory which selects and builds the appropriate
InsertStrategyorBatchInsertStrategybased on whether the insert is expected to generate ids. - InsertStrategyFactory(NamedParameterJdbcOperations, Dialect) - Constructor for class org.springframework.data.jdbc.core.convert.InsertStrategyFactory
- InsertSubject<T> - Class in org.springframework.data.jdbc.core.convert
-
The subject of an insert, described by the entity instance and its
Identifier, where identifier contains information about data that needs to be considered for the insert but which is not part of the entity. - INSTANCE - Enum constant in enum class org.springframework.data.jdbc.core.convert.JdbcArrayColumns.DefaultSupport
- INSTANCE - Enum constant in enum class org.springframework.data.jdbc.core.convert.JdbcArrayColumns.Unsupported
- INSTANCE - Enum constant in enum class org.springframework.data.jdbc.core.convert.JdbcColumnTypes
- INSTANCE - Enum constant in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.InstantToTimestampConverter
- INSTANCE - Enum constant in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.LocalDateTimeToTimestampConverter
- INSTANCE - Enum constant in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.LocalDateToTimestampConverter
- INSTANCE - Enum constant in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.LocalTimeToTimestampConverter
- INSTANCE - Enum constant in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToInstantConverter
- INSTANCE - Enum constant in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToLocalDateConverter
- INSTANCE - Enum constant in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToLocalDateTimeConverter
- INSTANCE - Enum constant in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToLocalTimeConverter
- INSTANCE - Static variable in class org.springframework.data.jdbc.core.dialect.JdbcDb2Dialect
- INSTANCE - Static variable in class org.springframework.data.jdbc.core.dialect.JdbcPostgresDialect
- INSTANCE - Static variable in class org.springframework.data.jdbc.core.dialect.JdbcSqlServerDialect
- isAssociation() - Method in class org.springframework.data.jdbc.core.mapping.BasicJdbcPersistentProperty
- isEmbedded() - Method in class org.springframework.data.jdbc.core.convert.QueryMapper.Field
- isEmbedded() - Method in class org.springframework.data.jdbc.core.convert.QueryMapper.MetadataBackedField
- isModifyingQuery() - Method in class org.springframework.data.jdbc.repository.query.JdbcQueryMethod
-
Returns whether the query method is a modifying one.
- isNullable(RelationalPersistentProperty) - Method in interface org.springframework.data.jdbc.core.mapping.schema.SqlTypeMapping
-
Determine whether a column is nullable.
- isSupported() - Method in enum class org.springframework.data.jdbc.core.convert.JdbcArrayColumns.DefaultSupport
- isSupported() - Method in enum class org.springframework.data.jdbc.core.convert.JdbcArrayColumns.Unsupported
J
- JdbcAggregateOperations - Interface in org.springframework.data.jdbc.core
-
Specifies operations one can perform on a database, based on an Domain Type.
- jdbcAggregateTemplate(ApplicationContext, JdbcMappingContext, JdbcConverter, DataAccessStrategy) - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
-
Register a
JdbcAggregateTemplateas a bean for easy use in applications that need a lower level of abstraction than the normal repository abstraction. - JdbcAggregateTemplate - Class in org.springframework.data.jdbc.core
-
JdbcAggregateOperationsimplementation, storing aggregates in and obtaining them from a JDBC data store. - JdbcAggregateTemplate(ApplicationContext, RelationalMappingContext, JdbcConverter, DataAccessStrategy) - Constructor for class org.springframework.data.jdbc.core.JdbcAggregateTemplate
-
Creates a new
JdbcAggregateTemplategivenApplicationContext,RelationalMappingContextandDataAccessStrategy. - JdbcAggregateTemplate(ApplicationEventPublisher, RelationalMappingContext, JdbcConverter, DataAccessStrategy) - Constructor for class org.springframework.data.jdbc.core.JdbcAggregateTemplate
-
Creates a new
JdbcAggregateTemplategivenApplicationEventPublisher,RelationalMappingContextandDataAccessStrategy. - JdbcArrayColumns - Interface in org.springframework.data.jdbc.core.convert
-
ArrayColumnsthat offer JDBC-specific functionality. - JdbcArrayColumns.DefaultSupport - Enum Class in org.springframework.data.jdbc.core.convert
-
Default
ArrayColumnsimplementation for dialects that do not support array-typed columns. - JdbcArrayColumns.Unsupported - Enum Class in org.springframework.data.jdbc.core.convert
-
Default
ArrayColumnsimplementation for dialects that do not support array-typed columns. - JdbcColumnTypes - Enum Class in org.springframework.data.jdbc.core.convert
-
Utility that determines the necessary type conversions between Java types used in the domain model and types compatible with JDBC drivers.
- jdbcConverter(JdbcMappingContext, NamedParameterJdbcOperations, RelationResolver, JdbcCustomConversions, Dialect) - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
-
Creates a
RelationalConverterusing the configuredAbstractJdbcConfiguration.jdbcMappingContext(Optional, JdbcCustomConversions, RelationalManagedTypes). - JdbcConverter - Interface in org.springframework.data.jdbc.core.convert
-
A
JdbcConverteris responsible for converting for values to the native relational representation and vice versa. - jdbcCustomConversions() - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
-
Register custom
Converters in aJdbcCustomConversionsobject if required. - JdbcCustomConversions - Class in org.springframework.data.jdbc.core.convert
-
Value object to capture custom conversion.
- JdbcCustomConversions() - Constructor for class org.springframework.data.jdbc.core.convert.JdbcCustomConversions
-
Creates an empty
JdbcCustomConversionsobject. - JdbcCustomConversions(List<?>) - Constructor for class org.springframework.data.jdbc.core.convert.JdbcCustomConversions
-
Create a new
JdbcCustomConversionsinstance registering the given converters and the default store converters. - JdbcCustomConversions(CustomConversions.ConverterConfiguration) - Constructor for class org.springframework.data.jdbc.core.convert.JdbcCustomConversions
-
Create a new
JdbcCustomConversionsinstance givenCustomConversions.ConverterConfiguration. - JdbcCustomConversions(CustomConversions.StoreConversions, List<?>) - Constructor for class org.springframework.data.jdbc.core.convert.JdbcCustomConversions
-
Create a new
JdbcCustomConversionsinstance registering the given converters and the default store converters. - JdbcDb2Dialect - Class in org.springframework.data.jdbc.core.dialect
-
Db2Dialectthat registers JDBC specific converters. - JdbcDb2Dialect() - Constructor for class org.springframework.data.jdbc.core.dialect.JdbcDb2Dialect
- jdbcDialect(NamedParameterJdbcOperations) - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
-
Resolves a
JDBC dialectby inspectingNamedParameterJdbcOperations. - JdbcDialect - Interface in org.springframework.data.jdbc.core.dialect
-
ArrayColumnsthat offer JDBC specific functionality. - JdbcIdentifierBuilder - Class in org.springframework.data.jdbc.core.convert
-
Builder for
Identifier. - jdbcManagedTypes() - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
-
Returns the a
RelationalManagedTypesobject holding the initial entity set. - jdbcMappingContext(Optional<NamingStrategy>, JdbcCustomConversions, RelationalManagedTypes) - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
-
Register a
JdbcMappingContextand apply an optionalNamingStrategy. - JdbcMappingContext - Class in org.springframework.data.jdbc.core.mapping
-
MappingContextimplementation for JDBC. - JdbcMappingContext() - Constructor for class org.springframework.data.jdbc.core.mapping.JdbcMappingContext
-
Creates a new
JdbcMappingContext. - JdbcMappingContext(NamingStrategy) - Constructor for class org.springframework.data.jdbc.core.mapping.JdbcMappingContext
-
Creates a new
JdbcMappingContextusing the givenNamingStrategy. - JdbcMySqlDialect - Class in org.springframework.data.jdbc.core.dialect
-
Db2Dialectthat registers JDBC specific converters. - JdbcMySqlDialect() - Constructor for class org.springframework.data.jdbc.core.dialect.JdbcMySqlDialect
- JdbcMySqlDialect(IdentifierProcessing) - Constructor for class org.springframework.data.jdbc.core.dialect.JdbcMySqlDialect
- jdbcOperationsRef() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
-
Configures the name of the
NamedParameterJdbcOperationsbean definition to be used to create repositories discovered through this annotation. - JdbcParameters - Class in org.springframework.data.jdbc.repository.query
-
Custom extension of
RelationalParameters. - JdbcParameters(ParametersSource) - Constructor for class org.springframework.data.jdbc.repository.query.JdbcParameters
-
Creates a new
JdbcParametersinstance from the givenParametersSource. - JdbcParameters.JdbcParameter - Class in org.springframework.data.jdbc.repository.query
-
Custom
Parameterimplementation. - JdbcPostgresDialect - Class in org.springframework.data.jdbc.core.dialect
-
JDBC specific Postgres Dialect.
- JdbcPostgresDialect() - Constructor for class org.springframework.data.jdbc.core.dialect.JdbcPostgresDialect
- JdbcQueryMethod - Class in org.springframework.data.jdbc.repository.query
-
QueryMethodimplementation that implements a method by executing the query from aQueryannotation on that method. - JdbcQueryMethod(Method, RepositoryMetadata, ProjectionFactory, NamedQueries, MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty>) - Constructor for class org.springframework.data.jdbc.repository.query.JdbcQueryMethod
- JdbcRepositoryConfigExtension - Class in org.springframework.data.jdbc.repository.config
-
RepositoryConfigurationExtensionextending the repository registration process by registering JDBC repositories. - JdbcRepositoryConfigExtension() - Constructor for class org.springframework.data.jdbc.repository.config.JdbcRepositoryConfigExtension
- JdbcRepositoryFactory - Class in org.springframework.data.jdbc.repository.support
-
Creates repository implementation based on JDBC.
- JdbcRepositoryFactory(DataAccessStrategy, RelationalMappingContext, JdbcConverter, Dialect, ApplicationEventPublisher, NamedParameterJdbcOperations) - Constructor for class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory
-
Creates a new
JdbcRepositoryFactoryfor the givenDataAccessStrategy,RelationalMappingContextandApplicationEventPublisher. - JdbcRepositoryFactoryBean<T extends Repository<S,
ID>, S, ID extends Serializable> - Class in org.springframework.data.jdbc.repository.support -
Special adapter for Springs
FactoryBeaninterface to allow easy setup of repository factories via Spring configuration. - JdbcRepositoryFactoryBean(Class<? extends T>) - Constructor for class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
-
Creates a new
JdbcRepositoryFactoryBeanfor the given repository interface. - JdbcSimpleTypes - Class in org.springframework.data.jdbc.core.mapping
-
Simple constant holder for a
SimpleTypeHolderenriched with specific simple types for relational database access. - JdbcSqlServerDialect - Class in org.springframework.data.jdbc.core.dialect
-
SqlServerDialectthat registers JDBC specific converters. - JdbcSqlServerDialect() - Constructor for class org.springframework.data.jdbc.core.dialect.JdbcSqlServerDialect
- JdbcTypeFactory - Interface in org.springframework.data.jdbc.core.convert
-
Allows the creation of instances of database dependent types, e.g.
- JdbcUtil - Class in org.springframework.data.jdbc.support
-
Contains methods dealing with the quirks of JDBC, independent of any Entity, Aggregate or Repository abstraction.
- JdbcValue - Class in org.springframework.data.jdbc.core.mapping
-
Wraps a value with the JDBCType that should be used to pass it as a bind parameter to a
PreparedStatement. - JdbcValue(Object, SQLType) - Constructor for class org.springframework.data.jdbc.core.mapping.JdbcValue
- Jsr310TimestampBasedConverters - Class in org.springframework.data.jdbc.core.convert
-
Helper class to register JSR-310 specific
Converterimplementations. - Jsr310TimestampBasedConverters() - Constructor for class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters
- Jsr310TimestampBasedConverters.InstantToTimestampConverter - Enum Class in org.springframework.data.jdbc.core.convert
- Jsr310TimestampBasedConverters.LocalDateTimeToTimestampConverter - Enum Class in org.springframework.data.jdbc.core.convert
- Jsr310TimestampBasedConverters.LocalDateToTimestampConverter - Enum Class in org.springframework.data.jdbc.core.convert
- Jsr310TimestampBasedConverters.LocalTimeToTimestampConverter - Enum Class in org.springframework.data.jdbc.core.convert
- Jsr310TimestampBasedConverters.TimestampToInstantConverter - Enum Class in org.springframework.data.jdbc.core.convert
- Jsr310TimestampBasedConverters.TimestampToLocalDateConverter - Enum Class in org.springframework.data.jdbc.core.convert
- Jsr310TimestampBasedConverters.TimestampToLocalDateTimeConverter - Enum Class in org.springframework.data.jdbc.core.convert
- Jsr310TimestampBasedConverters.TimestampToLocalTimeConverter - Enum Class in org.springframework.data.jdbc.core.convert
L
- LiquibaseChangeSetWriter - Class in org.springframework.data.jdbc.core.mapping.schema
-
Use this class to write Liquibase ChangeSets.
- LiquibaseChangeSetWriter(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty>) - Constructor for class org.springframework.data.jdbc.core.mapping.schema.LiquibaseChangeSetWriter
-
Use this to generate a ChangeSet that can be used on an empty database.
M
- MappingJdbcConverter - Class in org.springframework.data.jdbc.core.convert
-
RelationalConverterthat uses aMappingContextto apply conversion of relational values to property values. - MappingJdbcConverter(RelationalMappingContext, RelationResolver) - Constructor for class org.springframework.data.jdbc.core.convert.MappingJdbcConverter
-
Creates a new
MappingJdbcConvertergivenMappingContextand ano-op type factorythrowingUnsupportedOperationExceptionon type creation. - MappingJdbcConverter(RelationalMappingContext, RelationResolver, CustomConversions, JdbcTypeFactory) - Constructor for class org.springframework.data.jdbc.core.convert.MappingJdbcConverter
-
Creates a new
MappingJdbcConvertergivenMappingContext. - mapRow(ResultSet, int) - Method in class org.springframework.data.jdbc.core.convert.EntityRowMapper
- mapRow(ResultSet, int) - Method in class org.springframework.data.jdbc.repository.query.AbstractJdbcQuery.ConvertingRowMapper
- MetadataBackedField(SqlIdentifier, RelationalPersistentEntity<?>, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty>, JdbcConverter) - Constructor for class org.springframework.data.jdbc.core.convert.QueryMapper.MetadataBackedField
-
Creates a new
QueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContext. - MetadataBackedField(SqlIdentifier, RelationalPersistentEntity<?>, MappingContext<? extends RelationalPersistentEntity<?>, RelationalPersistentProperty>, RelationalPersistentProperty, JdbcConverter) - Constructor for class org.springframework.data.jdbc.core.convert.QueryMapper.MetadataBackedField
-
Creates a new
QueryMapper.MetadataBackedFieldwith the given name,RelationalPersistentEntityandMappingContextwith the givenRelationalPersistentProperty. - Modifying - Annotation Interface in org.springframework.data.jdbc.repository.query
-
Indicates a method should be regarded as modifying query.
- modifyOnCreate() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcAuditing
-
Configures whether the entity shall be marked as modified on creation.
- MyBatisContext - Class in org.springframework.data.jdbc.mybatis
-
MyBatisContextinstances get passed to MyBatis mapped statements as arguments, making Ids, instances, domainType and other attributes available to the statements. - MyBatisContext(Object, Object, Class<?>, Map<String, Object>) - Constructor for class org.springframework.data.jdbc.mybatis.MyBatisContext
- MyBatisContext(Identifier, Object, Class<?>) - Constructor for class org.springframework.data.jdbc.mybatis.MyBatisContext
- MyBatisDataAccessStrategy - Class in org.springframework.data.jdbc.mybatis
-
DataAccessStrategyimplementation based on MyBatis. - MyBatisDataAccessStrategy(SqlSession) - Constructor for class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
-
Constructs a
DataAccessStrategybased on MyBatis. - MyBatisJdbcConfiguration - Class in org.springframework.data.jdbc.repository.config
-
Configuration class tweaking Spring Data JDBC to use a
MyBatisDataAccessStrategyinstead of the default one. - MyBatisJdbcConfiguration() - Constructor for class org.springframework.data.jdbc.repository.config.MyBatisJdbcConfiguration
N
- name - Variable in class org.springframework.data.jdbc.core.convert.QueryMapper.Field
- name() - Element in annotation interface org.springframework.data.jdbc.repository.query.Query
-
The named query to be used.
- namedQueriesLocation() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
-
Configures the location of where to find the Spring Data named queries properties file.
- nameGenerator() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
-
Configure a specific
BeanNameGeneratorto be used when creating the repository beans. - NamespaceStrategy - Interface in org.springframework.data.jdbc.mybatis
-
A strategy to derive a MyBatis namespace from a domainType.
- newValueProvider(RowDocumentAccessor, ValueExpressionEvaluator, MappingRelationalConverter.ConversionContext) - Method in class org.springframework.data.jdbc.core.convert.MappingJdbcConverter
O
- of(Object, SQLType) - Static method in class org.springframework.data.jdbc.core.mapping.JdbcValue
- of(SqlIdentifier, Object, Class<?>) - Static method in class org.springframework.data.jdbc.core.convert.Identifier
- org.springframework.data.jdbc.aot - package org.springframework.data.jdbc.aot
- org.springframework.data.jdbc.core - package org.springframework.data.jdbc.core
-
Core JDBC implementation.
- org.springframework.data.jdbc.core.convert - package org.springframework.data.jdbc.core.convert
-
JDBC-specific conversion classes.
- org.springframework.data.jdbc.core.dialect - package org.springframework.data.jdbc.core.dialect
-
JDBC-specific Dialect implementations.
- org.springframework.data.jdbc.core.mapping - package org.springframework.data.jdbc.core.mapping
- org.springframework.data.jdbc.core.mapping.schema - package org.springframework.data.jdbc.core.mapping.schema
-
Schema creation and schema update integration with Liquibase.
- org.springframework.data.jdbc.mybatis - package org.springframework.data.jdbc.mybatis
- org.springframework.data.jdbc.repository - package org.springframework.data.jdbc.repository
- org.springframework.data.jdbc.repository.config - package org.springframework.data.jdbc.repository.config
- org.springframework.data.jdbc.repository.query - package org.springframework.data.jdbc.repository.query
-
Query derivation mechanism for JDBC specific repositories.
- org.springframework.data.jdbc.repository.support - package org.springframework.data.jdbc.repository.support
- org.springframework.data.jdbc.support - package org.springframework.data.jdbc.support
P
- PartTreeJdbcQuery - Class in org.springframework.data.jdbc.repository.query
-
An
AbstractJdbcQueryimplementation based on aPartTree. - PartTreeJdbcQuery(RelationalMappingContext, JdbcQueryMethod, Dialect, JdbcConverter, NamedParameterJdbcOperations, AbstractJdbcQuery.RowMapperFactory) - Constructor for class org.springframework.data.jdbc.repository.query.PartTreeJdbcQuery
-
Creates a new
PartTreeJdbcQuery. - PartTreeJdbcQuery(RelationalMappingContext, JdbcQueryMethod, Dialect, JdbcConverter, NamedParameterJdbcOperations, RowMapper<Object>) - Constructor for class org.springframework.data.jdbc.repository.query.PartTreeJdbcQuery
-
Creates a new
PartTreeJdbcQuery. - postProcess(BeanDefinitionBuilder, RepositoryConfigurationSource) - Method in class org.springframework.data.jdbc.repository.config.JdbcRepositoryConfigExtension
Q
- Query - Annotation Interface in org.springframework.data.jdbc.repository.query
-
Annotation to provide SQL statements that will get used for executing the method.
- queryLookupStrategy() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
-
Returns the key of the
QueryLookupStrategyto be used for lookup queries for query methods. - QueryMapper - Class in org.springframework.data.jdbc.core.convert
-
Maps
CriteriaDefinitionandSortobjects considering mapping metadata and dialect-specific conversion. - QueryMapper(JdbcConverter) - Constructor for class org.springframework.data.jdbc.core.convert.QueryMapper
-
Creates a new
QueryMapperwith the givenJdbcConverter. - QueryMapper.Field - Class in org.springframework.data.jdbc.core.convert
-
Value object to represent a field and its meta-information.
- QueryMapper.MetadataBackedField - Class in org.springframework.data.jdbc.core.convert
-
Extension of
QueryMapper.Fieldto be backed with mapping metadata. - QueryMappingConfiguration - Interface in org.springframework.data.jdbc.repository
R
- readAndResolve(Class<R>, RowDocument) - Method in interface org.springframework.data.jdbc.core.convert.JdbcConverter
-
Read a
RowDocumentinto the requestedaggregate typeand resolve references by looking these up fromRelationResolver. - readAndResolve(Class<R>, RowDocument, Identifier) - Method in interface org.springframework.data.jdbc.core.convert.JdbcConverter
-
Read a
RowDocumentinto the requestedaggregate typeand resolve references by looking these up fromRelationResolver. - readAndResolve(TypeInformation<R>, RowDocument, Identifier) - Method in interface org.springframework.data.jdbc.core.convert.JdbcConverter
-
Read a
RowDocumentinto the requestedaggregate typeand resolve references by looking these up fromRelationResolver. - readAndResolve(TypeInformation<R>, RowDocument, Identifier) - Method in class org.springframework.data.jdbc.core.convert.MappingJdbcConverter
- readValue(Object, TypeInformation<?>) - Method in class org.springframework.data.jdbc.core.convert.MappingJdbcConverter
- registerRowMapper(Class<T>, RowMapper<? extends T>) - Method in class org.springframework.data.jdbc.repository.config.DefaultQueryMappingConfiguration
-
Registers a the given
RowMapperas to be used for the given type. - RelationResolver - Interface in org.springframework.data.jdbc.core.convert
-
Resolves relations within an aggregate.
- repositoryBaseClass() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
-
Configure the repository base class to be used to create repository proxies for this particular configuration.
- repositoryFactoryBeanClass() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
-
Returns the
FactoryBeanclass to be used for each repository instance. - repositoryImplementationPostfix() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
-
Returns the postfix to be used when looking up custom repository implementations.
- resolvePrimitiveType(Class<?>) - Method in enum class org.springframework.data.jdbc.core.convert.JdbcColumnTypes
- resolveTypeToRead(ResultProcessor) - Method in class org.springframework.data.jdbc.repository.query.AbstractJdbcQuery
-
Obtain the result type to read from
ResultProcessor. - resultSetExtractorClass() - Element in annotation interface org.springframework.data.jdbc.repository.query.Query
-
Optional
ResultSetExtractorto use to convert the result of the query to domain class instances. - resultSetExtractorRef() - Element in annotation interface org.springframework.data.jdbc.repository.query.Query
-
Optional name of a bean of type
ResultSetExtractorto use to convert the result of the query to domain class instances. - rowMapperClass() - Element in annotation interface org.springframework.data.jdbc.repository.query.Query
-
Optional
RowMapperto use to convert the result of the query to domain class instances. - rowMapperRef() - Element in annotation interface org.springframework.data.jdbc.repository.query.Query
-
Optional name of a bean of type
RowMapperto use to convert the result of the query to domain class instances.
S
- save(S) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- save(T) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Saves an instance of an aggregate, including all the members of the aggregate.
- save(T) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- saveAll(Iterable<S>) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- saveAll(Iterable<T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Saves all aggregate instances, including all the members of each aggregate instance.
- saveAll(Iterable<T>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- scanForEntities(String) - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
-
Scans the given base package for entities, i.e.
- scroll(Query, Function<Query, List<T>>, ScrollPosition) - Static method in class org.springframework.data.jdbc.repository.support.ScrollDelegate
-
Run the
Queryand return a scrollWindow. - ScrollDelegate - Class in org.springframework.data.jdbc.repository.support
-
Delegate to run
scroll queriesand create resultWindow. - ScrollDelegate() - Constructor for class org.springframework.data.jdbc.repository.support.ScrollDelegate
- setApplicationContext(ApplicationContext) - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
- setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
- setBeanFactory(BeanFactory) - Method in class org.springframework.data.jdbc.repository.query.StringBasedJdbcQuery
-
Deprecated.
- setBeanFactory(BeanFactory) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory
- setBeanFactory(BeanFactory) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
- setChangeLogParser(ChangeLogParser) - Method in class org.springframework.data.jdbc.core.mapping.schema.LiquibaseChangeSetWriter
-
Set the
ChangeLogParser. - setChangeLogSerializer(ChangeLogSerializer) - Method in class org.springframework.data.jdbc.core.mapping.schema.LiquibaseChangeSetWriter
-
Set the
ChangeLogSerializer. - setConverter(JdbcConverter) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
- setDataAccessStrategy(DataAccessStrategy) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
- setDates() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcAuditing
-
Configures whether the creation and modification dates are set.
- setDelegate(DataAccessStrategy) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
-
Deprecated, for removal: This API element is subject to removal in a future version.
- setDialect(Dialect) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
- setDropColumnFilter(BiPredicate<String, String>) - Method in class org.springframework.data.jdbc.core.mapping.schema.LiquibaseChangeSetWriter
-
Set the filter predicate to identify columns within a table to drop.
- setDropTableFilter(Predicate<String>) - Method in class org.springframework.data.jdbc.core.mapping.schema.LiquibaseChangeSetWriter
-
Set the filter predicate to identify tables to drop.
- setEntityCallbacks(EntityCallbacks) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
-
Sets the callbacks to be invoked on life cycle events.
- setEntityCallbacks(EntityCallbacks) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory
- setEntityLifecycleEventsEnabled(boolean) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
-
Configure whether lifecycle events such as
AfterSaveEvent,BeforeSaveEvent, etc. should be published or whether emission should be suppressed. - setJdbcOperations(NamedParameterJdbcOperations) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
- setMappingContext(RelationalMappingContext) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
- setNamespaceStrategy(NamespaceStrategy) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
-
Set a NamespaceStrategy to be used.
- setQueryMappingConfiguration(QueryMappingConfiguration) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory
- setQueryMappingConfiguration(QueryMappingConfiguration) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
- setSchemaFilter(Predicate<RelationalPersistentEntity<?>>) - Method in class org.springframework.data.jdbc.core.mapping.schema.LiquibaseChangeSetWriter
-
Set the filter predicate to identify for which entities to create schema definitions.
- setSqlTypeMapping(SqlTypeMapping) - Method in class org.springframework.data.jdbc.core.mapping.schema.LiquibaseChangeSetWriter
-
Configure SQL type mapping.
- shouldCreatePersistentEntityFor(TypeInformation<?>) - Method in class org.springframework.data.jdbc.core.mapping.JdbcMappingContext
- SimpleJdbcRepository<T,
ID> - Class in org.springframework.data.jdbc.repository.support -
Default implementation of the
CrudRepositoryinterface. - SimpleJdbcRepository(JdbcAggregateOperations, PersistentEntity<T, ?>, JdbcConverter) - Constructor for class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
- simpleTypes() - Method in class org.springframework.data.jdbc.core.dialect.JdbcPostgresDialect
- size() - Method in class org.springframework.data.jdbc.core.convert.Identifier
-
Returns the number of key parts in this collection.
- spring.data.jdbc - module spring.data.jdbc
- SqlGeneratorSource - Class in org.springframework.data.jdbc.core.convert
-
Provides
SqlGenerators per domain type. - SqlGeneratorSource(RelationalMappingContext, JdbcConverter, Dialect) - Constructor for class org.springframework.data.jdbc.core.convert.SqlGeneratorSource
- SqlParametersFactory - Class in org.springframework.data.jdbc.core.convert
-
Creates the
SqlIdentifierParameterSourcefor various SQL operations, dialect identifier processing rules and applicable converters. - SqlParametersFactory(RelationalMappingContext, JdbcConverter) - Constructor for class org.springframework.data.jdbc.core.convert.SqlParametersFactory
- SqlTypeMapping - Interface in org.springframework.data.jdbc.core.mapping.schema
-
Strategy interface for mapping a
RelationalPersistentPropertyto a Database type. - storeConverters() - Static method in class org.springframework.data.jdbc.core.convert.JdbcCustomConversions
-
Obtain a read only copy of default store converters.
- StringBasedJdbcQuery - Class in org.springframework.data.jdbc.repository.query
-
A query to be executed based on a repository method, it's annotated SQL query and the arguments provided to the method.
- StringBasedJdbcQuery(String, JdbcQueryMethod, NamedParameterJdbcOperations, AbstractJdbcQuery.RowMapperFactory, JdbcConverter, QueryMethodEvaluationContextProvider) - Constructor for class org.springframework.data.jdbc.repository.query.StringBasedJdbcQuery
-
Deprecated.since 3.4, use the constructors accepting
ValueExpressionDelegateinstead. - StringBasedJdbcQuery(String, JdbcQueryMethod, NamedParameterJdbcOperations, AbstractJdbcQuery.RowMapperFactory, JdbcConverter, ValueExpressionDelegate) - Constructor for class org.springframework.data.jdbc.repository.query.StringBasedJdbcQuery
-
Creates a new
StringBasedJdbcQueryfor the givenJdbcQueryMethod,RelationalMappingContextandAbstractJdbcQuery.RowMapperFactory. - StringBasedJdbcQuery(JdbcQueryMethod, NamedParameterJdbcOperations, AbstractJdbcQuery.RowMapperFactory, JdbcConverter, QueryMethodEvaluationContextProvider) - Constructor for class org.springframework.data.jdbc.repository.query.StringBasedJdbcQuery
-
Deprecated.use alternative constructor
- StringBasedJdbcQuery(JdbcQueryMethod, NamedParameterJdbcOperations, AbstractJdbcQuery.RowMapperFactory, JdbcConverter, ValueExpressionDelegate) - Constructor for class org.springframework.data.jdbc.repository.query.StringBasedJdbcQuery
-
Creates a new
StringBasedJdbcQueryfor the givenJdbcQueryMethod,RelationalMappingContextandAbstractJdbcQuery.RowMapperFactory. - StringBasedJdbcQuery(JdbcQueryMethod, NamedParameterJdbcOperations, RowMapper<?>, JdbcConverter, QueryMethodEvaluationContextProvider) - Constructor for class org.springframework.data.jdbc.repository.query.StringBasedJdbcQuery
-
Deprecated.since 3.4, use the constructors accepting
ValueExpressionDelegateinstead.
T
- targetSqlTypeFor(Class<?>) - Static method in class org.springframework.data.jdbc.support.JdbcUtil
-
Returns the
SQLTypevalue suitable for passing a value of the provided type to JDBC driver. - to(ID) - Static method in interface org.springframework.data.jdbc.core.mapping.AggregateReference
-
Creates an
AggregateReferencethat refers to the target aggregate root with the given id. - toMap() - Method in class org.springframework.data.jdbc.core.convert.Identifier
-
Returns a
Mapcontaining the identifier name to value tuples. - toString() - Method in class org.springframework.data.jdbc.core.convert.Identifier
- toString() - Method in class org.springframework.data.jdbc.core.convert.InsertSubject
- toString() - Method in class org.springframework.data.jdbc.core.mapping.AggregateReference.IdOnlyAggregateReference
- transactionManagerRef() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
-
Configures the name of the
DataSourceTransactionManagerbean definition to be used to create repositories discovered through this annotation. - TYPE_UNKNOWN - Static variable in class org.springframework.data.jdbc.support.JdbcUtil
U
- UnableToSetId - Exception in org.springframework.data.jdbc.core
-
Signals failure to set the id property of an entity.
- unsupported() - Static method in interface org.springframework.data.jdbc.core.convert.JdbcTypeFactory
-
An implementation used in places where a proper
JdbcTypeFactorycan not be provided but an instance needs to be provided anyway, mostly for providing backward compatibility. - unwrap(Object) - Method in class org.springframework.data.jdbc.core.convert.MappingJdbcConverter
-
Unwraps values of type
JdbcValue. - update(S, Class<S>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- update(S, Class<S>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- update(S, Class<S>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- update(S, Class<S>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- update(T) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Dedicated update function.
- update(T) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
-
Dedicated update function to do just an update of an instance of an aggregate, including all the members of the aggregate.
- update(T, Class<T>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Updates the data of a single entity in the database.
- updateAll(Iterable<T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
-
Updates all aggregate instances, including all the members of each aggregate instance.
- updateAll(Iterable<T>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
- updateWithVersion(S, Class<S>, Number) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
- updateWithVersion(S, Class<S>, Number) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
- updateWithVersion(S, Class<S>, Number) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
- updateWithVersion(S, Class<S>, Number) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
- updateWithVersion(T, Class<T>, Number) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
-
Updates the data of a single entity in the database and enforce optimistic record locking using the
previousVersionproperty. - userConverters() - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
V
- value() - Element in annotation interface org.springframework.data.jdbc.repository.config.EnableJdbcRepositories
-
Alias for the
EnableJdbcRepositories.basePackages()attribute. - value() - Element in annotation interface org.springframework.data.jdbc.repository.query.Query
-
The SQL statement to execute when the annotated method gets invoked.
- valueOf(String) - Static method in enum class org.springframework.data.jdbc.core.convert.JdbcArrayColumns.DefaultSupport
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.jdbc.core.convert.JdbcArrayColumns.Unsupported
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.jdbc.core.convert.JdbcColumnTypes
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.InstantToTimestampConverter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.LocalDateTimeToTimestampConverter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.LocalDateToTimestampConverter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.LocalTimeToTimestampConverter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToInstantConverter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToLocalDateConverter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToLocalDateTimeConverter
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToLocalTimeConverter
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.data.jdbc.core.convert.JdbcArrayColumns.DefaultSupport
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.jdbc.core.convert.JdbcArrayColumns.Unsupported
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.jdbc.core.convert.JdbcColumnTypes
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.InstantToTimestampConverter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.LocalDateTimeToTimestampConverter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.LocalDateToTimestampConverter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.LocalTimeToTimestampConverter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToInstantConverter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToLocalDateConverter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToLocalDateTimeConverter
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.data.jdbc.core.convert.Jsr310TimestampBasedConverters.TimestampToLocalTimeConverter
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- withPart(SqlIdentifier, Object, Class<?>) - Method in class org.springframework.data.jdbc.core.convert.Identifier
-
Creates a new
Identifierfrom the current instance and sets the value forkey. - withQualifier(AggregatePath, Object) - Method in class org.springframework.data.jdbc.core.convert.JdbcIdentifierBuilder
-
Adds a qualifier to the identifier to build.
- writeChangeSet(Resource) - Method in class org.springframework.data.jdbc.core.mapping.schema.LiquibaseChangeSetWriter
-
Write a Liquibase ChangeSet containing all tables as initial ChangeSet.
- writeChangeSet(Resource, Database) - Method in class org.springframework.data.jdbc.core.mapping.schema.LiquibaseChangeSetWriter
-
Write a Liquibase ChangeSet using a
Databaseto identify the differences between mapped entities and the existing database. - writeChangeSet(Resource, LiquibaseChangeSetWriter.ChangeSetMetadata) - Method in class org.springframework.data.jdbc.core.mapping.schema.LiquibaseChangeSetWriter
-
Write a Liquibase ChangeSet containing all tables as initial ChangeSet.
- writeChangeSet(Resource, LiquibaseChangeSetWriter.ChangeSetMetadata, Database) - Method in class org.springframework.data.jdbc.core.mapping.schema.LiquibaseChangeSetWriter
-
Write a Liquibase ChangeSet using a
Databaseto identify the differences between mapped entities and the existing database. - writeJdbcValue(Object, Class<?>, SQLType) - Method in interface org.springframework.data.jdbc.core.convert.JdbcConverter
-
Convert a property value into a
JdbcValuethat contains the converted value and information how to bind it to JDBC parameters. - writeJdbcValue(Object, TypeInformation<?>, SQLType) - Method in interface org.springframework.data.jdbc.core.convert.JdbcConverter
-
Convert a property value into a
JdbcValuethat contains the converted value and information how to bind it to JDBC parameters. - writeJdbcValue(Object, TypeInformation<?>, SQLType) - Method in class org.springframework.data.jdbc.core.convert.MappingJdbcConverter
- writeValue(Object, TypeInformation<?>) - Method in class org.springframework.data.jdbc.core.convert.MappingJdbcConverter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
DelegatingDataAccessStrategy(DataAccessStrategy)to avoid mutable state.