File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
dnq/src/main/kotlin/kotlinx/dnq/store Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
buildscript {
2
2
ext. kotlin_version = ' 2.1.0'
3
- ext. exodus_version = ' 9.9.148 '
3
+ ext. exodus_version = ' 9.9.150 '
4
4
ext. dokka_version = ' 2.0.0'
5
5
ext. log4j_version = ' 2.17.1'
6
6
ext. google_truth_version = ' 1.4.2'
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ import jetbrains.exodus.database.TransientEntity
23
23
import jetbrains.exodus.database.TransientEntityStore
24
24
import jetbrains.exodus.entitystore.Entity
25
25
import jetbrains.exodus.entitystore.EntityIterable
26
- import jetbrains.exodus.entitystore.PersistentStoreTransaction
27
26
import jetbrains.exodus.entitystore.StoreTransaction
28
- import jetbrains.exodus.entitystore.iterate.SingleEntityIterable
27
+ import jetbrains.exodus.entitystore.asOStoreTransaction
29
28
import jetbrains.exodus.entitystore.youtrackdb.YTDBPersistentEntityStore
29
+ import jetbrains.exodus.entitystore.youtrackdb.iterate.link.YTDBMultipleEntitiesIterable
30
30
import jetbrains.exodus.query.InMemoryEntityIterable
31
31
import jetbrains.exodus.query.NodeBase
32
32
import jetbrains.exodus.query.QueryEngine
@@ -109,6 +109,6 @@ class XdQueryEngine(val store: TransientEntityStore) :
109
109
?.reattach()
110
110
?.takeUnless { session.isRemoved(it) }
111
111
?.takeIf { it.isSaved }
112
- ?.let { SingleEntityIterable (session.transactionInternal as PersistentStoreTransaction , it.id ) } ? : throw IllegalArgumentException ()
112
+ ?.let { YTDBMultipleEntitiesIterable (session.transactionInternal.asOStoreTransaction(), listOf (it) ) } ? : throw IllegalArgumentException ()
113
113
}
114
114
}
You can’t perform that action at this time.
0 commit comments