@@ -127,6 +127,9 @@ public class ReactiveInsertByIdOperationSupport implements ReactiveInsertByIdOpe
|
||||
if (this.expiry != null) {
|
||||
throw new IllegalArgumentException("withExpiry is not supported in a transaction");
|
||||
}
|
||||
if (this.durabilityLevel != null && this.durabilityLevel != DurabilityLevel.NONE) {
|
||||
throw new IllegalArgumentException("withDurability is not supported in a transaction");
|
||||
}
|
||||
if (this.options != null) {
|
||||
throw new IllegalArgumentException("withOptions is not supported in a transaction");
|
||||
}
|
||||
|
||||
@@ -134,6 +134,9 @@ public class ReactiveRemoveByIdOperationSupport implements ReactiveRemoveByIdOpe
|
||||
throw new IllegalArgumentException(
|
||||
"withDurability PersistTo and ReplicateTo overload is not supported in a transaction");
|
||||
}
|
||||
if (this.durabilityLevel != null && this.durabilityLevel != DurabilityLevel.NONE) {
|
||||
throw new IllegalArgumentException("withDurability is not supported in a transaction");
|
||||
}
|
||||
if (this.options != null) {
|
||||
throw new IllegalArgumentException("withOptions is not supported in a transaction");
|
||||
}
|
||||
|
||||
@@ -146,6 +146,9 @@ public class ReactiveReplaceByIdOperationSupport implements ReactiveReplaceByIdO
|
||||
if (this.expiry != null) {
|
||||
throw new IllegalArgumentException("withExpiry is not supported in a transaction");
|
||||
}
|
||||
if (this.durabilityLevel != null && this.durabilityLevel != DurabilityLevel.NONE) {
|
||||
throw new IllegalArgumentException("withDurability is not supported in a transaction");
|
||||
}
|
||||
if (this.options != null) {
|
||||
throw new IllegalArgumentException("withOptions is not supported in a transaction");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user