|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value=FIELD) public @interface Internal
This annotation may be added to entity fields. Internal fields will not be exposed
in DTOs. Hide fields as internal, when you either don't intend to persist objects of the entity class
in question, or if leaving those fields null
does not cause problems during insertion
of new objects. The database columns may allow for NULL
values or there may be database
defaults or triggers in place.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |