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 e45d513 commit 223dc66Copy full SHA for 223dc66
objectbox-java/src/main/java/io/objectbox/Transaction.java
@@ -20,6 +20,7 @@
20
21
import javax.annotation.concurrent.NotThreadSafe;
22
23
+import io.objectbox.annotation.apihint.Experimental;
24
import io.objectbox.annotation.apihint.Internal;
25
import io.objectbox.internal.CursorFactory;
26
@@ -124,7 +125,11 @@ public void abort() {
124
125
nativeAbort(transaction);
126
}
127
- /** Efficient for read transactions. */
128
+ /**
129
+ * Will throw if Cursors are still active for this TX.
130
+ * Efficient for read transactions.
131
+ */
132
+ @Experimental
133
public void reset() {
134
checkOpen();
135
initialCommitCount = store.commitCount;
0 commit comments