Modifier and Type | Class and Description |
---|---|
class |
DaoTemplate
spring dao 封装类
|
Constructor and Description |
---|
SpringDaoMapper(Class<T> domainClass,
DBClient client) |
Modifier and Type | Method and Description |
---|---|
void |
DaoMapperFactoryBean.setClient(DBClient client) |
Modifier and Type | Field and Description |
---|---|
protected DBClient |
OrmConfig.dbClient
连接
|
Modifier and Type | Method and Description |
---|---|
DBClient |
OrmConfig.getDbClient() |
Modifier and Type | Method and Description |
---|---|
void |
OrmConfig.setDbClient(DBClient dbClient) |
Modifier and Type | Method and Description |
---|---|
DBClient |
DBMethod.useContext(DBContext context)
执行sql上下文,比如切换数据源
|
DBClient |
DBClient.useContext(DBContext context)
使用上下文语境(一次性的,每次使用后必须重新设置,供以后扩展使用.)
|
Modifier and Type | Method and Description |
---|---|
Object |
DBClientCallback.callback(DBDialect dialect,
DBClient client) |
Modifier and Type | Method and Description |
---|---|
DBClient |
JpaEntityManagerImpl.getClient() |
DBClient |
JpaEntityManager.getClient() |
DBClient |
JpaEntityManagerFactory.getDb() |
Constructor and Description |
---|
JpaEntityManagerFactory(DBClient db) |
Modifier and Type | Field and Description |
---|---|
protected DBClient |
DefaultMapperBuilder.client
The db client.
|
protected DBClient |
MapperJavaProxy.client
The db client.
|
protected DBClient |
DaoMapperImpl.dbClient |
Modifier and Type | Method and Description |
---|---|
DBClient |
DaoMapperImpl.getDbClient() |
DBClient |
DaoMapper.getDbClient() |
Modifier and Type | Method and Description |
---|---|
Object |
MapperInvoke.call(DBClient sm,
Class<?> entityClass,
String sqlId,
Method m,
Object[] args) |
Constructor and Description |
---|
DaoMapperImpl(Class<T> domainClass,
DBClient dbClient) |
DefaultMapperBuilder(DBClient client)
The Constructor.
|
MapperJavaProxy(DefaultMapperBuilder builder,
DBClient client,
Class<?> mapperInterface) |
Modifier and Type | Method and Description |
---|---|
Object |
MethodHandleSQL.call(DBClient dbClient,
Class entityClass,
Method m,
Object[] params) |
Object |
MethodHandleAutoSQL.call(DBClient dbClient,
Class entityClass,
Method m,
Object[] params) |
Object |
MethodHandleTemplate.call(DBClient dbClient,
Class entityClass,
Method m,
SqlResource resource,
Object[] params) |
Object |
MethodHandleTemplate.call(DBClient dbClient,
Method m,
String sqlTemplate,
DMLType dmlType,
Object[] params) |
protected Object |
MethodHandleSQL.parseInsert(Method method,
DBClient dbClient,
String sql,
Object[] params,
boolean batch) |
protected Object |
MethodHandleTemplate.parseInsert(Method method,
DBClient dbClient,
String sql,
Object[] params,
boolean batch,
boolean isSqlId) |
protected Object |
MethodHandleSQL.parseSelectList(Method method,
DBClient dbClient,
String sql,
Object[] paras) |
protected Object |
MethodHandleTemplate.parseSelectList(Method method,
DBClient dbClient,
String sql,
Object[] paras,
boolean isSqlId) |
protected Object |
MethodHandleAutoSQL.parseSelectList(org.springframework.data.repository.query.parser.PartTree tree,
Method method,
DBClient dbClient,
List<SQLContext> selects) |
protected Object |
MethodHandleSQL.parseUpdate(Method method,
DBClient dbClient,
String sql,
Object[] params)
根据返回参数int 或者int[] 判断是否是批处理。如果都没有,根据第一参数判断
|
protected Object |
MethodHandleTemplate.parseUpdate(Method method,
DBClient dbClient,
String sql,
Object[] params,
boolean isSqlId)
根据返回参数int 或者int[] 判断是否是批处理。如果都没有,根据第一参数判断
|
protected Object |
MethodHandleAutoSQL.parseUpdate(SQLContext context,
Method method,
DBClient dbClient)
根据返回参数int 或者int[] 判断是否是批处理。如果都没有,根据第一参数判断
|
Modifier and Type | Method and Description |
---|---|
DBClient |
EntityScanner.getDbClient() |
Modifier and Type | Method and Description |
---|---|
void |
EntityScanner.setDbClient(DBClient dbClient) |
Modifier and Type | Field and Description |
---|---|
protected DBClient |
DBDynmicSQLImpl.client |
Constructor and Description |
---|
DBDynmicSQLImpl(DBClient client) |
Modifier and Type | Field and Description |
---|---|
protected DBClient |
DynmicSQLMapperImpl.client |
Constructor and Description |
---|
DynmicSQLMapperImpl(DBClient client,
Class<T> domainClass) |
Modifier and Type | Field and Description |
---|---|
protected DBClient |
DBJooqImpl.client |
Constructor and Description |
---|
DBJooqImpl(DBClient client) |
Modifier and Type | Field and Description |
---|---|
protected DBClient |
JooqMapperImpl.client |
Constructor and Description |
---|
JooqMapperImpl(DBClient client,
Class<T> domainClass) |
Modifier and Type | Field and Description |
---|---|
protected DBClient |
DBQueryDSLImpl.client |
Constructor and Description |
---|
DBQueryDSLImpl(DBClient client) |
Modifier and Type | Field and Description |
---|---|
protected DBClient |
QueryDSLMapperImpl.client |
Constructor and Description |
---|
QueryDSLMapperImpl(DBClient client,
Class<T> domainClass) |
Copyright © 2020. All rights reserved.