Skip navigation links
Spring Data JDBC
A B C D E F G H I J M N O P Q R S T U W 

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
 
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 AggregateReference that only holds the id of the referenced aggregate root.
AUTOGENERATED_ID_TYPES - Static variable in class org.springframework.data.jdbc.core.mapping.JdbcSimpleTypes
 

B

BasicJdbcConverter - Class in org.springframework.data.jdbc.core.convert
RelationalConverter that uses a MappingContext to apply basic conversion of relational values to property values.
BasicJdbcConverter(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty>, RelationResolver) - Constructor for class org.springframework.data.jdbc.core.convert.BasicJdbcConverter
BasicJdbcConverter(MappingContext<? extends RelationalPersistentEntity<?>, ? extends RelationalPersistentProperty>, RelationResolver, CustomConversions, JdbcTypeFactory) - Constructor for class org.springframework.data.jdbc.core.convert.BasicJdbcConverter
BasicJdbcPersistentProperty - Class in org.springframework.data.jdbc.core.mapping
 
BasicJdbcPersistentProperty(Property, PersistentEntity<?, RelationalPersistentProperty>, SimpleTypeHolder, RelationalMappingContext) - Constructor for class org.springframework.data.jdbc.core.mapping.BasicJdbcPersistentProperty
build() - Method in class org.springframework.data.jdbc.core.JdbcIdentifierBuilder
 

C

canEqual(Object) - Method in class org.springframework.data.jdbc.core.mapping.AggregateReference.IdOnlyAggregateReference
 
CascadingDataAccessStrategy - Class in org.springframework.data.jdbc.core
Deprecated.
CascadingDataAccessStrategy(List<DataAccessStrategy>) - Constructor for class org.springframework.data.jdbc.core.CascadingDataAccessStrategy
Deprecated.
 
CascadingDataAccessStrategy - Class in org.springframework.data.jdbc.core.convert
Delegates each methods 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
 
ConfigurableRowMapperMap - Class in org.springframework.data.jdbc.repository.config
Deprecated.
Since 1.1 use DefaultQueryMappingConfiguration instead.
ConfigurableRowMapperMap() - Constructor for class org.springframework.data.jdbc.repository.config.ConfigurableRowMapperMap
Deprecated.
 
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() - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
 
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 Array instance.
createCombinedAccessStrategy(RelationalMappingContext, JdbcConverter, NamedParameterJdbcOperations, SqlSession) - Static method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
Create a DataAccessStrategy that first checks for queries defined by MyBatis and if it doesn't find one uses a DefaultDataAccessStrategy
createCombinedAccessStrategy(RelationalMappingContext, JdbcConverter, NamedParameterJdbcOperations, SqlSession, NamespaceStrategy) - Static method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
Create a DataAccessStrategy that first checks for queries defined by MyBatis and if it doesn't find one uses a DefaultDataAccessStrategy
createPersistentEntity(TypeInformation<T>) - Method in class org.springframework.data.jdbc.core.mapping.JdbcMappingContext
 
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 JdbcAggregateOperations which provides interactions related to complete aggregates.
DataAccessStrategy - Interface in org.springframework.data.jdbc.core
Deprecated.
since 1.1, use DataAccessStrategy
dataAccessStrategy(RelationalMappingContext, JdbcConverter, NamedParameterJdbcOperations) - Method in class org.springframework.data.jdbc.repository.config.JdbcConfiguration
Deprecated.
Register a DataAccessStrategy as a bean for reuse in the JdbcAggregateOperations and the RelationalConverter.
dataAccessStrategyBean(NamedParameterJdbcOperations, JdbcConverter, RelationalMappingContext) - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
Create a DataAccessStrategy for reuse in the JdbcAggregateOperations and the JdbcConverter.
dataAccessStrategyBean(NamedParameterJdbcOperations, JdbcConverter, RelationalMappingContext) - Method in class org.springframework.data.jdbc.repository.config.MyBatisJdbcConfiguration
 
DEFAULT_INSTANCE - Static variable in interface org.springframework.data.jdbc.mybatis.NamespaceStrategy
 
DefaultDataAccessStrategy - Class in org.springframework.data.jdbc.core.convert
The default DataAccessStrategy is to generate SQL statements based on meta data from the entity.
DefaultDataAccessStrategy(SqlGeneratorSource, RelationalMappingContext, JdbcConverter, NamedParameterJdbcOperations) - Constructor for class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
DefaultDataAccessStrategy - Class in org.springframework.data.jdbc.core
Deprecated.
since 1.1, use DefaultDataAccessStrategy instead.
DefaultDataAccessStrategy(SqlGeneratorSource, RelationalMappingContext, JdbcConverter, NamedParameterJdbcOperations) - Constructor for class org.springframework.data.jdbc.core.DefaultDataAccessStrategy
Deprecated.
Creates a DefaultDataAccessStrategy which references it self for resolution of recursive data accesses.
DefaultJdbcTypeFactory - Class in org.springframework.data.jdbc.core.convert
A JdbcTypeFactory that performs the conversion by utilizing JdbcOperations.execute(ConnectionCallback).
DefaultJdbcTypeFactory(JdbcOperations) - Constructor for class org.springframework.data.jdbc.core.convert.DefaultJdbcTypeFactory
Creates a new DefaultJdbcTypeFactory.
DefaultQueryMappingConfiguration - Class in org.springframework.data.jdbc.repository.config
A QueryMappingConfiguration that allows for registration of RowMappers and ResultSetExtractors via a fluent Api.
DefaultQueryMappingConfiguration() - Constructor for class org.springframework.data.jdbc.repository.config.DefaultQueryMappingConfiguration
 
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 - Class in org.springframework.data.jdbc.core
Deprecated.
DelegatingDataAccessStrategy() - Constructor for class org.springframework.data.jdbc.core.DelegatingDataAccessStrategy
Deprecated.
 
delete(Object, Class<?>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
 
delete(Object, PersistentPropertyPath<RelationalPersistentProperty>) - 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, 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, Class<?>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
 
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, Class<?>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
 
delete(T, Class<T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
Delete an aggregate identified by it's aggregate root.
delete(S, Class<S>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
 
delete(Object, Class<?>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
 
delete(Object, PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
 
delete(T) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
 
deleteAll(Class<T>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
 
deleteAll(PersistentPropertyPath<RelationalPersistentProperty>) - 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(PersistentPropertyPath<RelationalPersistentProperty>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
Deletes all entities reachable via propertyPath from any instance.
deleteAll(Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
 
deleteAll(PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
 
deleteAll(Class<T>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
 
deleteAll(PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
 
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.mybatis.MyBatisDataAccessStrategy
 
deleteAll(PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
 
deleteAll(Iterable<? extends T>) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
 
deleteAll() - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
 
deleteById(Object, Class<T>) - Method in interface org.springframework.data.jdbc.core.JdbcAggregateOperations
Deletes a single Aggregate including all entities contained in that aggregate.
deleteById(Object, Class<S>) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
 
deleteById(ID) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
 
doCreateRepositoryFactory() - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
Creates the actual RepositoryFactorySupport instance.

E

empty() - Static method in class org.springframework.data.jdbc.core.JdbcIdentifierBuilder
 
EMPTY - Static variable in interface org.springframework.data.jdbc.repository.QueryMappingConfiguration
An immutable empty instance that will return null for all arguments.
EMPTY - Static variable in interface org.springframework.data.jdbc.repository.RowMapperMap
Deprecated.
An immutable empty instance that will return null for all arguments.
EnableJdbcAuditing - Annotation Type in org.springframework.data.jdbc.repository.config
Annotation to enable auditing in JDBC via annotation configuration.
EnableJdbcRepositories - Annotation Type in org.springframework.data.jdbc.repository.config
Annotation to enable JDBC repositories.
EntityRowMapper<T> - Class in org.springframework.data.jdbc.core.convert
Maps a ResultSet to an entity of type T, including entities referenced.
EntityRowMapper(PersistentPropertyPathExtension, 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
 
EntityRowMapper<T> - Class in org.springframework.data.jdbc.core
Deprecated.
since 1.1, use EntityRowMapper instead.
EntityRowMapper(RelationalPersistentEntity<T>, JdbcConverter, DataAccessStrategy) - Constructor for class org.springframework.data.jdbc.core.EntityRowMapper
Deprecated.
 
equals(Object) - Method in class org.springframework.data.jdbc.core.convert.JdbcValue
 
equals(Object) - Method in class org.springframework.data.jdbc.core.mapping.AggregateReference.IdOnlyAggregateReference
 
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
 
existsById(ID) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
 

F

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() - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
 
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<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
 
findAllByPath(Identifier, PersistentPropertyPath<RelationalPersistentProperty>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
 
findAllByPath(Identifier, PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
 
findAllByPath(Identifier, PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
 
findAllByPath(Identifier, PersistentPropertyPath<RelationalPersistentProperty>) - Method in interface org.springframework.data.jdbc.core.convert.RelationResolver
Finds all entities reachable via path.
findAllByPath(Identifier, PersistentPropertyPath<RelationalPersistentProperty>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
 
findAllByProperty(Object, RelationalPersistentProperty) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
 
findAllByProperty(Object, RelationalPersistentProperty) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
Deprecated.
Use #findAllByPath instead.
findAllByProperty(Object, RelationalPersistentProperty) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
 
findAllByProperty(Object, RelationalPersistentProperty) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
 
findAllByProperty(Object, RelationalPersistentProperty) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
 
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
 
findById(ID) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
 
forBackReferences(PersistentPropertyPathExtension, Object) - Static method in class org.springframework.data.jdbc.core.JdbcIdentifierBuilder
Creates ParentKeys with backreference for the given path and value of the parents id.

G

get(String) - Method in class org.springframework.data.jdbc.mybatis.MyBatisContext
Returns a value for the given key.
getDomainType() - Method in class org.springframework.data.jdbc.mybatis.MyBatisContext
The domain type of the entity to query or act upon.
getEntityInformation(Class<T>) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory
 
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.mybatis.MyBatisContext
The Identifier for a path to query.
getIdentifyingAnnotations() - Method in class org.springframework.data.jdbc.repository.config.JdbcRepositoryConfigExtension
In strict mode only domain types having a Table annotation get a repository.
getInstance() - Method in class org.springframework.data.jdbc.mybatis.MyBatisContext
The entity to act upon.
getJdbcType() - Method in class org.springframework.data.jdbc.core.convert.JdbcValue
 
getModuleName() - Method in class org.springframework.data.jdbc.repository.config.JdbcRepositoryConfigExtension
 
getModulePrefix() - Method in class org.springframework.data.jdbc.repository.config.JdbcRepositoryConfigExtension
 
getNamespace(Class<?>) - Method in interface org.springframework.data.jdbc.mybatis.NamespaceStrategy
Get a namespace that corresponds to the given domain type.
getQueryLookupStrategy(QueryLookupStrategy.Key, QueryMethodEvaluationContextProvider) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory
 
getRepositoryBaseClass(RepositoryMetadata) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory
 
getRepositoryFactoryBeanClassName() - Method in class org.springframework.data.jdbc.repository.config.JdbcRepositoryConfigExtension
 
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(Class<T>) - Method in interface org.springframework.data.jdbc.repository.RowMapperMap
Deprecated.
 
getSqlType() - Method in class org.springframework.data.jdbc.core.mapping.BasicJdbcPersistentProperty
 
getTargetRepository(RepositoryInformation) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory
 
getValue() - Method in class org.springframework.data.jdbc.core.convert.JdbcValue
 

H

hashCode() - Method in class org.springframework.data.jdbc.core.convert.JdbcValue
 
hashCode() - Method in class org.springframework.data.jdbc.core.mapping.AggregateReference.IdOnlyAggregateReference
 
HOLDER - Static variable in class org.springframework.data.jdbc.core.mapping.JdbcSimpleTypes
 

I

IdOnlyAggregateReference(ID) - Constructor for class org.springframework.data.jdbc.core.mapping.AggregateReference.IdOnlyAggregateReference
 
insert(T, Class<T>, Map<String, Object>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
 
insert(T, Class<T>, Identifier) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
 
insert(T, Class<T>, Map<String, Object>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
Deprecated.
insert(T, Class<T>, Identifier) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
Inserts a the data of a single entity.
insert(T, Class<T>, Map<String, Object>) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
 
insert(T, Class<T>, Identifier) - Method in class org.springframework.data.jdbc.core.convert.DefaultDataAccessStrategy
 
insert(T, Class<T>, Map<String, Object>) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
 
insert(T, Class<T>, Identifier) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
 
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>, Map<String, Object>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
 
insert(T, Class<T>, Identifier) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
 
isModifyingQuery() - Method in class org.springframework.data.jdbc.repository.support.JdbcQueryMethod
Deprecated.
Returns whether the query method is a modifying one.
isReference() - Method in class org.springframework.data.jdbc.core.mapping.BasicJdbcPersistentProperty
 

J

JdbcAggregateOperations - Interface in org.springframework.data.jdbc.core
Specifies a operations one can perform on a database, based on an Domain Type.
jdbcAggregateOperations(ApplicationEventPublisher, RelationalMappingContext, JdbcConverter, NamedParameterJdbcOperations) - Method in class org.springframework.data.jdbc.repository.config.JdbcConfiguration
Deprecated.
Register a JdbcAggregateTemplate as 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
JdbcAggregateOperations implementation, storing aggregates in and obtaining them from a JDBC data store.
JdbcAggregateTemplate(ApplicationContext, RelationalMappingContext, RelationalConverter, DataAccessStrategy) - Constructor for class org.springframework.data.jdbc.core.JdbcAggregateTemplate
JdbcAggregateTemplate(ApplicationEventPublisher, RelationalMappingContext, RelationalConverter, DataAccessStrategy) - Constructor for class org.springframework.data.jdbc.core.JdbcAggregateTemplate
jdbcAggregateTemplate(ApplicationContext, RelationalMappingContext, JdbcConverter, DataAccessStrategy) - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
Register a JdbcAggregateTemplate as a bean for easy use in applications that need a lower level of abstraction than the normal repository abstraction.
JdbcConfiguration - Class in org.springframework.data.jdbc.repository.config
Deprecated.
JdbcConfiguration() - Constructor for class org.springframework.data.jdbc.repository.config.JdbcConfiguration
Deprecated.
 
JdbcConverter - Interface in org.springframework.data.jdbc.core.convert
A JdbcConverter is responsible for converting for values to the native relational representation and vice versa.
jdbcConverter(RelationalMappingContext, NamedParameterJdbcOperations, RelationResolver, JdbcCustomConversions) - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
Creates a RelationalConverter using the configured #jdbcMappingContext(Optional).
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 JdbcCustomConversions object.
JdbcCustomConversions(List<?>) - Constructor for class org.springframework.data.jdbc.core.convert.JdbcCustomConversions
Create a new JdbcCustomConversions instance registering the given converters.
jdbcCustomConversions() - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
Register custom Converters in a JdbcCustomConversions object if required.
jdbcCustomConversions() - Method in class org.springframework.data.jdbc.repository.config.JdbcConfiguration
Deprecated.
Register custom Converters in a JdbcCustomConversions object if required.
JdbcIdentifierBuilder - Class in org.springframework.data.jdbc.core
Builder for Identifier.
JdbcMappingContext - Class in org.springframework.data.jdbc.core.mapping
MappingContext implementation 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 JdbcMappingContext using the given NamingStrategy.
jdbcMappingContext(Optional<NamingStrategy>, JdbcCustomConversions) - Method in class org.springframework.data.jdbc.repository.config.AbstractJdbcConfiguration
Register a RelationalMappingContext and apply an optional NamingStrategy.
jdbcMappingContext(Optional<NamingStrategy>) - Method in class org.springframework.data.jdbc.repository.config.JdbcConfiguration
Deprecated.
Register a RelationalMappingContext and apply an optional NamingStrategy.
JdbcQueryMethod - Class in org.springframework.data.jdbc.repository.support
Deprecated.
Visibility of this class will be reduced to package private.
JdbcQueryMethod(Method, RepositoryMetadata, ProjectionFactory) - Constructor for class org.springframework.data.jdbc.repository.support.JdbcQueryMethod
Deprecated.
 
JdbcRepositoryConfigExtension - Class in org.springframework.data.jdbc.repository.config
RepositoryConfigurationExtension extending 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, ApplicationEventPublisher, NamedParameterJdbcOperations) - Constructor for class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory
JdbcRepositoryFactoryBean<T extends Repository<S,ID>,S,ID extends Serializable> - Class in org.springframework.data.jdbc.repository.support
Special adapter for Springs FactoryBean interface 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 JdbcRepositoryFactoryBean for the given repository interface.
JdbcSimpleTypes - Class in org.springframework.data.jdbc.core.mapping
Simple constant holder for a SimpleTypeHolder enriched with specific simple types for relational database access.
JdbcTypeFactory - Interface in org.springframework.data.jdbc.core.convert
Allows the creation of instances of database dependent types, e.g.
jdbcTypeFor(int) - Static method in class org.springframework.data.jdbc.support.JdbcUtil
Converts a value defined in Types into a JDBCType instance or null if the value is JdbcUtils.TYPE_UNKNOWN
jdbcTypeFor(Class<?>) - Static method in class org.springframework.data.jdbc.support.JdbcUtil
Returns the JDBCType suitable for passing a value of the provided type to a PreparedStatement.
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.convert
Wraps a value with the JDBCType that should be used to pass it as a bind parameter to a PreparedStatement.

M

mapRow(RelationalPersistentEntity<T>, ResultSet, Object) - Method in class org.springframework.data.jdbc.core.convert.BasicJdbcConverter
 
mapRow(PersistentPropertyPathExtension, ResultSet, Identifier, Object) - Method in class org.springframework.data.jdbc.core.convert.BasicJdbcConverter
 
mapRow(ResultSet, int) - Method in class org.springframework.data.jdbc.core.convert.EntityRowMapper
 
mapRow(RelationalPersistentEntity<T>, ResultSet, Object) - Method in interface org.springframework.data.jdbc.core.convert.JdbcConverter
Read the current row from ResultSet to an entity.
mapRow(PersistentPropertyPathExtension, ResultSet, Identifier, Object) - Method in interface org.springframework.data.jdbc.core.convert.JdbcConverter
Read the current row from ResultSet to an entity.
Modifying - Annotation Type in org.springframework.data.jdbc.repository.query
Indicates a method should be regarded as modifying query.
MyBatisContext - Class in org.springframework.data.jdbc.mybatis
MyBatisContext instances 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
DataAccessStrategy implementation based on MyBatis.
MyBatisDataAccessStrategy(SqlSession) - Constructor for class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
Constructs a DataAccessStrategy based on MyBatis.
MyBatisJdbcConfiguration - Class in org.springframework.data.jdbc.repository.config
Configuration class tweaking Spring Data JDBC to use a MyBatisDataAccessStrategy instead of the default one.
MyBatisJdbcConfiguration() - Constructor for class org.springframework.data.jdbc.repository.config.MyBatisJdbcConfiguration
 

N

NamespaceStrategy - Interface in org.springframework.data.jdbc.mybatis
A strategy to derive a MyBatis namespace from a domainType.

O

of(Object, JDBCType) - Static method in class org.springframework.data.jdbc.core.convert.JdbcValue
 
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.mapping - package org.springframework.data.jdbc.core.mapping
 
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
 
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

postProcess(BeanDefinitionBuilder, RepositoryConfigurationSource) - Method in class org.springframework.data.jdbc.repository.config.JdbcRepositoryConfigExtension
 

Q

Query - Annotation Type in org.springframework.data.jdbc.repository.query
Annotation to provide SQL statements that will get used for executing the method.
QueryMappingConfiguration - Interface in org.springframework.data.jdbc.repository
Configures a RowMapper for each type to be used for extracting entities of that type from a ResultSet.

R

readValue(Object, TypeInformation<?>) - Method in class org.springframework.data.jdbc.core.convert.BasicJdbcConverter
 
register(Class<T>, RowMapper<? extends T>) - Method in class org.springframework.data.jdbc.repository.config.ConfigurableRowMapperMap
Deprecated.
Registers a the given RowMapper as to be used for the given type.
registerRowMapper(Class<T>, RowMapper<? extends T>) - Method in class org.springframework.data.jdbc.repository.config.DefaultQueryMappingConfiguration
Registers a the given RowMapper as to be used for the given type.
relationalConverter(RelationalMappingContext, RelationResolver) - Method in class org.springframework.data.jdbc.repository.config.JdbcConfiguration
Deprecated.
RelationResolver - Interface in org.springframework.data.jdbc.core.convert
Resolves relations within an aggregate.
rowMapperFor(Class<T>) - Method in class org.springframework.data.jdbc.repository.config.ConfigurableRowMapperMap
Deprecated.
Returns a RowMapper for the given type if such a RowMapper is present.
rowMapperFor(Class<T>) - Method in interface org.springframework.data.jdbc.repository.RowMapperMap
Deprecated.
 
RowMapperMap - Interface in org.springframework.data.jdbc.repository
Deprecated.

S

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
 
save(S) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
 
saveAll(Iterable<S>) - Method in class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
 
setApplicationEventPublisher(ApplicationEventPublisher) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
 
setBeanFactory(BeanFactory) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
 
setConverter(JdbcConverter) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
 
setDataAccessStrategy(DataAccessStrategy) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
 
setDelegate(DataAccessStrategy) - Method in class org.springframework.data.jdbc.core.convert.DelegatingDataAccessStrategy
Must be called exactly once before calling any of the other methods.
setEntityCallbacks(EntityCallbacks) - Method in class org.springframework.data.jdbc.core.JdbcAggregateTemplate
 
setEntityCallbacks(EntityCallbacks) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory
 
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
 
setRowMapperMap(RowMapperMap) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactory
setRowMapperMap(RowMapperMap) - Method in class org.springframework.data.jdbc.repository.support.JdbcRepositoryFactoryBean
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 CrudRepository interface.
SimpleJdbcRepository(JdbcAggregateOperations, PersistentEntity<T, ?>) - Constructor for class org.springframework.data.jdbc.repository.support.SimpleJdbcRepository
 
SqlGeneratorSource - Class in org.springframework.data.jdbc.core.convert
Provides SqlGenerators per domain type.
SqlGeneratorSource(RelationalMappingContext) - Constructor for class org.springframework.data.jdbc.core.convert.SqlGeneratorSource
 
sqlTypeFor(Class<?>) - Static method in class org.springframework.data.jdbc.support.JdbcUtil
Returns the Types value suitable for passing a value of the provided type to a PreparedStatement.
sqlTypeFor(JDBCType) - Static method in class org.springframework.data.jdbc.support.JdbcUtil
Converts a JDBCType to an int value as defined in Types.

T

to(ID) - Static method in interface org.springframework.data.jdbc.core.mapping.AggregateReference
 
toString() - Method in class org.springframework.data.jdbc.core.convert.JdbcValue
 
toString() - Method in class org.springframework.data.jdbc.core.mapping.AggregateReference.IdOnlyAggregateReference
 

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 JdbcTypeFactory can not be provided but an instance needs to be provided anyway, mostly for providing backward compatibility.
update(S, Class<S>) - Method in class org.springframework.data.jdbc.core.convert.CascadingDataAccessStrategy
 
update(T, Class<T>) - Method in interface org.springframework.data.jdbc.core.convert.DataAccessStrategy
Updates the data of a single entity in the database.
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(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(S, Class<S>) - Method in class org.springframework.data.jdbc.mybatis.MyBatisDataAccessStrategy
 

W

withQualifier(PersistentPropertyPathExtension, Object) - Method in class org.springframework.data.jdbc.core.JdbcIdentifierBuilder
Adds a qualifier to the identifier to build.
writeJdbcValue(Object, Class<?>, int) - Method in class org.springframework.data.jdbc.core.convert.BasicJdbcConverter
 
writeJdbcValue(Object, Class<?>, int) - Method in interface org.springframework.data.jdbc.core.convert.JdbcConverter
Convert a property value into a JdbcValue that contains the converted value and information how to bind it to JDBC parameters.
writeValue(Object, TypeInformation<?>) - Method in class org.springframework.data.jdbc.core.convert.BasicJdbcConverter
 
A B C D E F G H I J M N O P Q R S T U W 
Skip navigation links
Spring Data JDBC

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