Package | Description |
---|---|
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.query |
Query derivation mechanism for JDBC specific repositories.
|
org.springframework.data.jdbc.repository.support | |
org.springframework.data.relational.core.dialect |
Dialects abstract the SQL dialect of the underlying database.
|
Modifier and Type | Method and Description |
---|---|
Dialect |
SqlGeneratorSource.getDialect() |
Constructor and Description |
---|
SqlGeneratorSource(RelationalMappingContext context,
JdbcConverter converter,
Dialect dialect) |
Modifier and Type | Method and Description |
---|---|
static DataAccessStrategy |
MyBatisDataAccessStrategy.createCombinedAccessStrategy(RelationalMappingContext context,
JdbcConverter converter,
NamedParameterJdbcOperations operations,
org.apache.ibatis.session.SqlSession sqlSession,
Dialect dialect)
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,
Dialect dialect)
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 |
---|---|
static Dialect |
DialectResolver.getDialect(JdbcOperations operations)
Retrieve a
Dialect by inspecting a Connection . |
Dialect |
AbstractJdbcConfiguration.jdbcDialect(NamedParameterJdbcOperations operations)
Resolves a
JDBC dialect by inspecting NamedParameterJdbcOperations . |
Modifier and Type | Method and Description |
---|---|
Optional<Dialect> |
DialectResolver.JdbcDialectProvider.getDialect(JdbcOperations operations)
Returns a
Dialect for a DataSource . |
Optional<Dialect> |
DialectResolver.DefaultDialectProvider.getDialect(JdbcOperations operations) |
Modifier and Type | Method and Description |
---|---|
DataAccessStrategy |
AbstractJdbcConfiguration.dataAccessStrategyBean(NamedParameterJdbcOperations operations,
JdbcConverter jdbcConverter,
JdbcMappingContext context,
Dialect dialect)
|
DataAccessStrategy |
MyBatisJdbcConfiguration.dataAccessStrategyBean(NamedParameterJdbcOperations operations,
JdbcConverter jdbcConverter,
JdbcMappingContext context,
Dialect dialect) |
JdbcConverter |
AbstractJdbcConfiguration.jdbcConverter(JdbcMappingContext mappingContext,
NamedParameterJdbcOperations operations,
RelationResolver relationResolver,
JdbcCustomConversions conversions,
Dialect dialect)
Creates a
RelationalConverter using the configured
AbstractJdbcConfiguration.jdbcMappingContext(Optional, JdbcCustomConversions) . |
Constructor and Description |
---|
PartTreeJdbcQuery(RelationalMappingContext context,
JdbcQueryMethod queryMethod,
Dialect dialect,
JdbcConverter converter,
NamedParameterJdbcOperations operations,
RowMapper<Object> rowMapper)
Creates a new
PartTreeJdbcQuery . |
Modifier and Type | Method and Description |
---|---|
protected void |
JdbcRepositoryFactoryBean.setDialect(Dialect dialect) |
Constructor and Description |
---|
JdbcRepositoryFactory(DataAccessStrategy dataAccessStrategy,
RelationalMappingContext context,
JdbcConverter converter,
Dialect dialect,
ApplicationEventPublisher publisher,
NamedParameterJdbcOperations operations)
Creates a new
JdbcRepositoryFactory for the given DataAccessStrategy ,
RelationalMappingContext and ApplicationEventPublisher . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDialect
Base class for
Dialect implementations. |
class |
AnsiDialect
An SQL dialect for the ANSI SQL standard.
|
class |
Db2Dialect
An SQL dialect for DB2.
|
class |
H2Dialect
An SQL dialect for H2.
|
class |
HsqlDbDialect
A
Dialect for HsqlDb. |
class |
MySqlDialect
A SQL dialect for MySQL.
|
class |
OracleDialect
An SQL dialect for Oracle.
|
class |
PostgresDialect
An SQL dialect for Postgres.
|
class |
SqlServerDialect
An SQL dialect for Microsoft SQL Server.
|
Modifier and Type | Field and Description |
---|---|
Dialect |
RenderContextFactory.dialect |
Constructor and Description |
---|
RenderContextFactory(Dialect dialect)
Creates a new
RenderContextFactory given Dialect . |
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.