Use
DiffIgnore
annotation to mark certain properties
or classes as ignored by JaVers.
Property level
Add
DiffIgnore
to fields or getters
(depending on selected
MappingStyle
)
to mark them as ignored.
When used on the property level,
DiffIgnore
is equivalent to the
javax.persistence.Transient
annotation.
Class level
Add
DiffIgnore
to classes to mark them as ignored.
When a given class is ignored, all properties
(found in other classes) with this class as a return type are ignored.
Warning:
DiffIgnore
can't be mixed with
DiffInclude
in the same class.