| 程序包 | 说明 |
|---|---|
| cn.org.atool.fluent.mybatis.base.entity | |
| cn.org.atool.fluent.mybatis.base.provider |
| 限定符和类型 | 字段和说明 |
|---|---|
protected TableId |
AMapping.tableId |
| 限定符和类型 | 方法和说明 |
|---|---|
TableId |
IMapping.tableId()
返回主键信息
|
TableId |
AMapping.tableId() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.ibatis.executor.keygen.KeyGenerator |
StatementBuilder.handleSelectKey(FieldMapping primary,
TableId tableId) |
org.apache.ibatis.executor.keygen.KeyGenerator |
SqlKit.insert(StatementBuilder builder,
FieldMapping primary,
TableId tableId)
构造insert方法的主键生成器KeyGenerator
|
org.apache.ibatis.executor.keygen.KeyGenerator |
CommonSqlKit.insert(StatementBuilder builder,
FieldMapping primary,
TableId tableId) |
org.apache.ibatis.executor.keygen.KeyGenerator |
OracleSqlKit.insert(StatementBuilder builder,
FieldMapping primary,
TableId tableId) |
<E extends IEntity> |
SqlKit.insertBatch(IMapping mapping,
List<E> entities,
boolean withPk,
TableId tableId)
批量插入
|
<E extends IEntity> |
CommonSqlKit.insertBatch(IMapping mapping,
List<E> entities,
boolean withPk,
TableId tableId) |
org.apache.ibatis.executor.keygen.KeyGenerator |
SqlKit.insertBatch(IMapping mapping,
StatementBuilder builder,
FieldMapping primary,
TableId tableId)
构造insertBatch方法的主键生成器KeyGenerator
|
org.apache.ibatis.executor.keygen.KeyGenerator |
CommonSqlKit.insertBatch(IMapping mapping,
StatementBuilder builder,
FieldMapping primary,
TableId tableId) |
protected void |
CommonSqlKit.insertSelect(IMapping mapping,
TableId tableId,
boolean withPk,
MapperSql sql,
List<Map> maps,
List<FieldMapping> nonFields)
https://blog.csdn.net/w_y_t_/article/details/51416201
https://www.cnblogs.com/xunux/p/4882761.html
https://blog.csdn.net/weixin_41175479/article/details/80608512
|
protected boolean |
CommonSqlKit.isAutoKeyGenerator(TableId tableId) |
protected boolean |
CommonSqlKit.isSelectInsert(IMapping mapping,
boolean withPk,
TableId tableId)
是否用 insert select 方式批量插入
|
protected boolean |
OracleSqlKit.isSelectInsert(IMapping mapping,
boolean withPk,
TableId tableId) |
Copyright © 2021. All rights reserved.