File tree 1 file changed +7
-3
lines changed
spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 24
24
import com .mongodb .bulk .BulkWriteResult ;
25
25
26
26
/**
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
30
30
* {@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.
31
35
*
32
36
* @author Tobias Trelle
33
37
* @author Oliver Gierke
You can’t perform that action at this time.
0 commit comments