Package io.objectbox.annotation
Annotation Type NameInDb
-
@Retention(CLASS) @Target({FIELD,TYPE}) public @interface NameInDbAllows to specify a simple name mapping for entities and properties. If names have diverged on the Java side (vs. the DB), you can specify the name used in the database here. This allows simple renames in Java. For more advanced renames you should consider @Uidinstead.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueName used in the database.
-