Skip to content

Commit 917e647

Browse files
author
a-brandt
committed
fixed missing database name
1 parent 257eb67 commit 917e647

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/com/arangodb/ArangoDriver.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
import com.arangodb.entity.BatchResponseEntity;
3838
import com.arangodb.entity.BooleanResultEntity;
3939
import com.arangodb.entity.CollectionEntity;
40-
import com.arangodb.entity.CollectionKeyOption;
4140
import com.arangodb.entity.CollectionOptions;
4241
import com.arangodb.entity.CollectionsEntity;
4342
import com.arangodb.entity.CursorEntity;
@@ -2414,8 +2413,8 @@ public <T> DocumentCursor<T> executeDocumentQuery(
24142413
Boolean calcCount,
24152414
Integer batchSize) throws ArangoException {
24162415

2417-
BaseCursor<T, DocumentEntity<T>> baseCursor = cursorDocumentDriver.executeBaseCursorQuery(query, query,
2418-
bindVars, DocumentEntity.class, clazz, calcCount, batchSize, false);
2416+
BaseCursor<T, DocumentEntity<T>> baseCursor = cursorDocumentDriver.executeBaseCursorQuery(getDefaultDatabase(),
2417+
query, bindVars, DocumentEntity.class, clazz, calcCount, batchSize, false);
24192418
return new DocumentCursor<T>(baseCursor);
24202419
}
24212420

0 commit comments

Comments
 (0)