public class OracleSqlKit extends CommonSqlKit
| 构造器和说明 |
|---|
OracleSqlKit() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
batchCrud(IMapping mapping,
BatchCrudImpl crud)
批量更新, 插入, 删除操作语句构造
|
org.apache.ibatis.executor.keygen.KeyGenerator |
insert(StatementBuilder builder,
FieldMapping primary,
TableId tableId)
构造insert方法的主键生成器KeyGenerator
|
protected boolean |
isSelectInsert(IMapping mapping,
boolean withPk,
TableId tableId)
是否用 insert select 方式批量插入
|
String |
updateBy(IMapping mapping,
IUpdate[] updaters)
update(IQuery) SQL构造
IEntityMapper.updateBy(IUpdate[]) |
static String |
wrapperBeginEnd(String sql) |
count, countNoLimit, deleteBy, eqByMap, getSeq, insertBatch, insertBatch, insertEntity, insertSelect, insertSelect, insertValues, isAutoKeyGenerator, logicDeleteBy, logicDeleteByIds, logicDeleteByIds, nonFields, queryBy, queryByIds, queryByIds, setLogicDeleted, toMaps, updateBy, updateByIdpublic org.apache.ibatis.executor.keygen.KeyGenerator insert(StatementBuilder builder, FieldMapping primary, TableId tableId)
SqlKitinsert 在接口中 SqlKitinsert 在类中 CommonSqlKitbuilder - statement构造器primary - 主键映射tableId - 主键注解Options,
SelectKeyprotected boolean isSelectInsert(IMapping mapping, boolean withPk, TableId tableId)
CommonSqlKitisSelectInsert 在类中 CommonSqlKitpublic String batchCrud(IMapping mapping, BatchCrudImpl crud)
SqlKitmapping - IMappingcrud - BatchCrudImplpublic String updateBy(IMapping mapping, IUpdate[] updaters)
SqlKitIEntityMapper.updateBy(IUpdate[])updateBy 在接口中 SqlKitupdateBy 在类中 CommonSqlKitmapping - IMappingupdaters - 更新条件Copyright © 2022. All rights reserved.