Annotation Interface Modifier


@Target(FIELD) @Retention(RUNTIME) @Documented public @interface Modifier
This annotation can be used to mark entity fields. If an entity is saved, that has its primary key defined, and is persisted, then the field value will be the currently logged in user's name. This value is always written in the field value, regardless if the field contains any value(s). This value assignment will happen automatically during the use of the JPA. During the saving (JpaDaoAPI), the Client object must be specified in the parameters, or the field will not receive any values.
Since:
4.0
Author:
JBStrap
See Also: