Package | Description |
---|---|
org.springframework.data.jdbc.core |
Core JDBC implementation.
|
org.springframework.data.jdbc.core.convert |
JDBC-specific conversion classes.
|
org.springframework.data.jdbc.mybatis | |
org.springframework.data.jdbc.repository.config | |
org.springframework.data.jdbc.repository.support |
Modifier and Type | Interface and Description |
---|---|
interface |
DataAccessStrategy
Deprecated.
since 1.1, use
DataAccessStrategy |
Constructor and Description |
---|
EntityRowMapper(RelationalPersistentEntity<T> entity,
JdbcConverter converter,
DataAccessStrategy accessStrategy)
Deprecated.
|
JdbcAggregateTemplate(ApplicationContext publisher,
RelationalMappingContext context,
RelationalConverter converter,
DataAccessStrategy dataAccessStrategy)
Creates a new
JdbcAggregateTemplate given ApplicationContext , RelationalMappingContext and
DataAccessStrategy . |
JdbcAggregateTemplate(ApplicationEventPublisher publisher,
RelationalMappingContext context,
RelationalConverter converter,
DataAccessStrategy dataAccessStrategy)
Creates a new
JdbcAggregateTemplate given ApplicationEventPublisher ,
RelationalMappingContext and DataAccessStrategy . |
Constructor and Description |
---|
CascadingDataAccessStrategy(List<DataAccessStrategy> strategies)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
CascadingDataAccessStrategy
Delegates each methods to the
DataAccessStrategy s passed to the constructor in turn until the first that does
not throw an exception. |
class |
DefaultDataAccessStrategy
The default
DataAccessStrategy is to generate SQL statements based on meta data from the entity. |
class |
DelegatingDataAccessStrategy
Delegates all method calls to an instance set after construction.
|
Modifier and Type | Method and Description |
---|---|
void |
DelegatingDataAccessStrategy.setDelegate(DataAccessStrategy delegate)
Must be called exactly once before calling any of the other methods.
|
Constructor and Description |
---|
CascadingDataAccessStrategy(List<DataAccessStrategy> strategies) |
Modifier and Type | Class and Description |
---|---|
class |
MyBatisDataAccessStrategy
DataAccessStrategy implementation based on MyBatis. |
Modifier and Type | Method and Description |
---|---|
static DataAccessStrategy |
MyBatisDataAccessStrategy.createCombinedAccessStrategy(RelationalMappingContext context,
JdbcConverter converter,
NamedParameterJdbcOperations operations,
org.apache.ibatis.session.SqlSession sqlSession)
Create a
DataAccessStrategy that first checks for queries defined by MyBatis and if it doesn't find one
uses a DefaultDataAccessStrategy |
static DataAccessStrategy |
MyBatisDataAccessStrategy.createCombinedAccessStrategy(RelationalMappingContext context,
JdbcConverter converter,
NamedParameterJdbcOperations operations,
org.apache.ibatis.session.SqlSession sqlSession,
NamespaceStrategy namespaceStrategy)
Create a
DataAccessStrategy that first checks for queries defined by MyBatis and if it doesn't find one
uses a DefaultDataAccessStrategy |
Modifier and Type | Method and Description |
---|---|
DataAccessStrategy |
JdbcConfiguration.dataAccessStrategy(RelationalMappingContext context,
JdbcConverter converter,
NamedParameterJdbcOperations operations)
Deprecated.
Register a
DataAccessStrategy as a bean for reuse in the JdbcAggregateOperations and the
RelationalConverter . |
DataAccessStrategy |
MyBatisJdbcConfiguration.dataAccessStrategyBean(NamedParameterJdbcOperations operations,
JdbcConverter jdbcConverter,
RelationalMappingContext context) |
DataAccessStrategy |
AbstractJdbcConfiguration.dataAccessStrategyBean(NamedParameterJdbcOperations operations,
JdbcConverter jdbcConverter,
RelationalMappingContext context)
|
Modifier and Type | Method and Description |
---|---|
JdbcAggregateTemplate |
AbstractJdbcConfiguration.jdbcAggregateTemplate(ApplicationContext applicationContext,
RelationalMappingContext mappingContext,
JdbcConverter converter,
DataAccessStrategy dataAccessStrategy)
Register a
JdbcAggregateTemplate as a bean for easy use in applications that need a lower level of
abstraction than the normal repository abstraction. |
Modifier and Type | Method and Description |
---|---|
void |
JdbcRepositoryFactoryBean.setDataAccessStrategy(DataAccessStrategy dataAccessStrategy) |
Constructor and Description |
---|
JdbcRepositoryFactory(DataAccessStrategy dataAccessStrategy,
RelationalMappingContext context,
JdbcConverter converter,
ApplicationEventPublisher publisher,
NamedParameterJdbcOperations operations)
Creates a new
JdbcRepositoryFactory for the given DataAccessStrategy ,
RelationalMappingContext and ApplicationEventPublisher . |
Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.