1 parent b679463 commit eee10d9Copy full SHA for eee10d9
1 file changed
objectbox-java/src/main/java/io/objectbox/relation/ToOne.java
@@ -33,8 +33,9 @@
33
* A to-relation is unidirectional: it points from the source entity to the target entity.
34
* The target is referenced by its ID, which is persisted in the source entity.
35
* <p>
36
- * If their is a backlink {@link ToMany} relation based on this to-one relation,
37
- * the ToMany object will not be notified/updated about changes done here (use {@link ToMany#reset()} if required).
+ * If there is a {@link ToMany} relation linking back to this to-one relation (@Backlink),
+ * the ToMany object will not be notified/updated about persisted changes here.
38
+ * Call {@link ToMany#reset()} so it will update when next accessed.
39
*/
40
// TODO add more tests
41
// TODO not exactly thread safe
0 commit comments