File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 2424import com .mongodb .bulk .BulkWriteResult ;
2525
2626/**
27- * Bulk operations for insert/update/remove actions on a collection. These bulks operation are available since MongoDB
28- * 2.6 and make use of low level bulk commands on the protocol level. This interface defines a fluent API to add
29- * multiple single operations or list of similar operations in sequence which can then eventually be executed by calling
27+ * Bulk operations for insert/update/remove actions on a collection. Bulk operations are available since MongoDB 2.6 and
28+ * make use of low level bulk commands on the protocol level. This interface defines a fluent API to add multiple single
29+ * operations or list of similar operations in sequence which can then eventually be executed by calling
3030 * {@link #execute()}.
31+ * <p>
32+ * Bulk operations are issued as one batch that pulls together all insert, update, and delete operations. Operations
33+ * that require individual operation results such as optimistic locking (using {@code @Version}) are not supported and
34+ * the version field remains not populated.
3135 *
3236 * @author Tobias Trelle
3337 * @author Oliver Gierke
You can’t perform that action at this time.
0 commit comments