Class BatchInsert<T>
java.lang.Object
org.mybatis.dynamic.sql.insert.render.BatchInsert<T>
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the generated SQL for this batch.Returns a list of InsertStatement objects.static <T> BatchInsert.Builder
<T> withRecords
(List<T> records)
-
Method Details
-
insertStatements
Returns a list of InsertStatement objects. This is useful for MyBatis batch support.- Returns:
- a List of InsertStatements
-
getInsertStatementSQL
Returns the generated SQL for this batch. This is useful for Spring JDBC batch support.- Returns:
- the generated INSERT statement
-
getRecords
-
withRecords
-