We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b3b60c commit cdc4070Copy full SHA for cdc4070
src/main/java/com/arangodb/springframework/transaction/ArangoTransaction.java
@@ -38,7 +38,9 @@ void configure(TransactionDefinition definition) {
38
String getOrBegin(Collection<String> collections) {
39
if (transaction != null) {
40
if (!writeCollections.containsAll(collections)) {
41
- throw new IllegalTransactionStateException("Stream transaction already started, no additional collections allowed");
+ Set<String> additional = new HashSet<>(collections);
42
+ additional.removeAll(writeCollections);
43
+ throw new IllegalTransactionStateException("Stream transaction already started on collections " + writeCollections + ", no additional collections allowed: " + additional);
44
}
45
return transaction.getId();
46
0 commit comments