Modifier and Type | Method and Description |
---|---|
T |
ObjectMapper.assemble(boolean autoGeneratedKeys,
TableMetaData tableMetaData,
Insert insert) |
<T> int[] |
SimpleDslSession.batchInsert(Insert insert,
Class<T> requiredType,
List<T> params) |
<T> int[] |
SimpleDslSession.batchInsert(Insert insert,
Class<T> requiredType,
List<T> params,
int batchSize) |
<T> int[] |
SimpleDslSession.batchInsert(Insert insert,
Class<T> requiredType,
List<T> params,
int batchSize,
boolean autoGeneratedKeys) |
int[] |
SimpleDslSession.batchInsert(Insert insert,
List<Map<String,Object>> params) |
int[] |
SimpleDslSession.batchInsert(Insert insert,
List<Map<String,Object>> params,
boolean autoGeneratedKeys) |
int[] |
SimpleDslSession.batchInsert(Insert insert,
List<Map<String,Object>> params,
int batchSize) |
int[] |
SimpleDslSession.batchInsert(Insert insert,
List<Map<String,Object>> params,
int batchSize,
boolean autoGeneratedKeys) |
int |
SimpleDslSession.execute(Insert insert) |
<T> T |
SimpleDslSession.executeAndReturnObject(Insert insert) |
<T> T |
SimpleDslSession.executeAndReturnObject(Insert insert,
Class<T> clazz) |
<T> T |
SimpleDslSession.executeAndReturnObject(Insert insert,
Class<T> clazz,
boolean autoGeneratedKeys) |
Modifier and Type | Method and Description |
---|---|
int[] |
SimpleDslSession.batchInsert(List<Insert> inserts,
boolean autoGeneratedKeys) |
Constructor and Description |
---|
InsertBatchOperate(boolean autoGeneratedKeys,
Insert insert,
TableMetaData metaData,
org.springframework.jdbc.core.simple.SimpleJdbcInsert simpleJdbcInsert,
SimpleDslSession simpleDslSession) |
Modifier and Type | Method and Description |
---|---|
Insert |
NoParamInsertGenerateCallback.generate()
根据参数对象生成insert对象
|
Insert |
InsertGenerateCallback.generate(T t)
根据参数对象生成insert对象
|
Constructor and Description |
---|
DatabaseKeyGenerator(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
Insert insert,
TableMetaData tableMetaData) |
Modifier and Type | Method and Description |
---|---|
Insert |
Insert.columns(Column... columns) |
static Insert |
Insert.insertInto(Table table) |
Insert |
Insert.selectBody(Select select) |
Insert |
Insert.values(Value... values) |
Modifier and Type | Method and Description |
---|---|
<T> int[] |
DslSession.batchInsert(Insert insert,
Class<T> requiredType,
List<T> params) |
<T> int[] |
DslSession.batchInsert(Insert insert,
Class<T> requiredType,
List<T> params,
int batchSize) |
<T> int[] |
DslSession.batchInsert(Insert insert,
Class<T> requiredType,
List<T> params,
int batchSize,
boolean autoGeneratedKeys)
批量新增
|
int[] |
DslSession.batchInsert(Insert insert,
List<Map<String,Object>> params) |
int[] |
DslSession.batchInsert(Insert insert,
List<Map<String,Object>> params,
boolean autoGeneratedKeys)
批量新增 最大batchsize
|
int[] |
DslSession.batchInsert(Insert insert,
List<Map<String,Object>> params,
int batchSize) |
int[] |
DslSession.batchInsert(Insert insert,
List<Map<String,Object>> params,
int batchSize,
boolean autoGeneratedKeys)
批量新增
|
int |
DslSession.execute(Insert insert)
执行Insert语句,返回值为受影响记录数
|
<T> T |
DslSession.executeAndReturnObject(Insert insert)
执行Insert语句,返回值为自增长的主键值,由数据库来生成主键值.该方法不能用于执行insert into。。。select语句
|
<T> T |
DslSession.executeAndReturnObject(Insert insert,
Class<T> clazz)
执行Insert语句,返回值为自增长的主键值,由数据库来生成主键值.该方法不能用于执行insert into。。。select语句
|
<T> T |
DslSession.executeAndReturnObject(Insert insert,
Class<T> clazz,
boolean autoGeneratedKeys)
执行Insert语句,返回值为自增长的主键值。该方法不能用于执行insert into。。。select语句
|
Modifier and Type | Method and Description |
---|---|
int[] |
DslSession.batchInsert(List<Insert> inserts,
boolean autoGeneratedKeys)
执行多句insert语句
|
Copyright © 2006–2018 TinyGroup. All rights reserved.