@Retention(value=CLASS)
@Target(value={FIELD,TYPE})
public @interface NameInDb
Allows 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 @Uid instead.