use of com.querydsl.sql.dml.SQLInsertBatch in project querydsl by querydsl.
the class OracleTemplates method serializeInsert.
@Override
public void serializeInsert(QueryMetadata metadata, RelationalPath<?> entity, List<SQLInsertBatch> batches, SQLSerializer context) {
context.append(bulkInsertTemplate);
metadata.addFlag(new QueryFlag(Position.START_OVERRIDE, bulkInsertSeparator));
for (SQLInsertBatch batch : batches) {
serializeInsert(metadata, entity, batch.getColumns(), batch.getValues(), batch.getSubQuery(), context);
}
context.append(" select * from dual");
}
Aggregations