File tree Expand file tree Collapse file tree
objectbox-java/src/main/java/io/objectbox Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -84,8 +84,15 @@ public class BoxStore implements Closeable {
8484 */
8585 public static final String JNI_VERSION = "5.1.0-2026-01-19" ;
8686
87- /** The ObjectBox database version this Java library is known to work with. */
88- private static final String VERSION = "5.1.1-dev-2026-01-21" ;
87+ /**
88+ * The ObjectBox database version this Java library is known to work with.
89+ * <p>
90+ * This should be a version number followed by a date (MAJOR.MINOR.PATCH-YYYY-MM-DD).
91+ * <p>
92+ * This is used (currently only in tests) to make sure a database library has a compatible JNI API by checking the
93+ * version number matches exactly and the date is the same or newer.
94+ */
95+ private static final String VERSION = "5.1.1-2026-01-21" ;
8996
9097 private static final String OBJECTBOX_PACKAGE_NAME = "objectbox" ;
9198 private static BoxStore defaultStore ;
You can’t perform that action at this time.
0 commit comments