public class LambdaInsertWrapper<T> extends AbstractCompareQuery<T,LambdaOperations.LambdaInsert<T>> implements LambdaOperations.LambdaInsert<T>
queryParam, queryTemplatedbType| 构造器和说明 |
|---|
LambdaInsertWrapper(Class<T> exampleType,
JdbcTemplate jdbcTemplate) |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
batchInsert(List<T> entity)
批量插入记录。
|
<V> BoundSql |
buildInsertFromQuery(LambdaOperations.LambdaQuery<V> lambdaQuery)
build insert form select sql
|
protected LambdaOperations.LambdaInsert<T> |
getSelf() |
long |
insert(T entity)
插入一条记录。
|
<V> long |
insertFromQuery(LambdaOperations.LambdaQuery<V> lambdaQuery)
insert form select
|
addCondition, and, apply, between, columnName, conditionName, eq, format, formatSegment, ge, getOriginalBoundSql, gt, in, isNotNull, isNull, le, like, likeLeft, likeRight, lockCondition, lt, ne, nested, notBetween, notIn, notLike, notLikeLeft, notLikeRight, ordialect, exampleType, getBoundSql, getBoundSql, getJdbcOperations, getRowMapper, pageInfo, query, query, query, queryForCount, queryForLargeCount, queryForList, queryForMap, queryForMapList, queryForObject, wrapperTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitand, and, apply, between, eq, ge, gt, in, isNotNull, isNull, le, like, likeLeft, likeRight, lt, ne, nested, notBetween, notIn, notLike, notLikeLeft, notLikeRight, or, orbatchInsert, exampleTypegetBoundSql, getBoundSqlpublic LambdaInsertWrapper(Class<T> exampleType, JdbcTemplate jdbcTemplate)
public long insert(T entity) throws SQLException
InsertExecuteinsert 在接口中 InsertExecute<T>SQLExceptionpublic long batchInsert(List<T> entity) throws SQLException
InsertExecutebatchInsert 在接口中 InsertExecute<T>SQLExceptionpublic <V> long insertFromQuery(LambdaOperations.LambdaQuery<V> lambdaQuery) throws SQLException
InsertExecuteinsertFromQuery 在接口中 InsertExecute<T>SQLExceptionpublic <V> BoundSql buildInsertFromQuery(LambdaOperations.LambdaQuery<V> lambdaQuery) throws SQLException
InsertExecutebuildInsertFromQuery 在接口中 InsertExecute<T>SQLExceptionprotected LambdaOperations.LambdaInsert<T> getSelf()
getSelf 在类中 AbstractCompareQuery<T,LambdaOperations.LambdaInsert<T>>Copyright © 2020–2021. All rights reserved.