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 5504c71 commit ff4e53dCopy full SHA for ff4e53d
objectbox-java/src/main/java/io/objectbox/relation/ToOne.java
@@ -119,7 +119,8 @@ private void ensureBoxes(TARGET target) {
119
boxStore = (BoxStore) boxStoreField.get(target);
120
}
121
if (boxStore == null) {
122
- throw new DbDetachedException("Cannot resolve relation for detached entities");
+ throw new DbDetachedException("Cannot resolve relation for detached entities, " +
123
+ "call box.attach(entity) beforehand.");
124
125
126
} catch (IllegalAccessException e) {
0 commit comments