public void serializeInsert(QueryMetadata metadata, RelationalPath<?> entity,
                                List<SQLInsertBatch> batches, SQLSerializer context) {
        context.serializeForInsert(metadata, entity, batches);

        if (!metadata.getFlags().isEmpty()) {
            context.serialize(Position.END, metadata.getFlags());
        }
    }
template method for INSERT serialization

@param metadata
@param batches
@param context
querydsl-sql/src/main/java/com/querydsl/sql/SQLTemplates.java