Annotation Type PropagateNull
Signals that the annotated property signals the presence of the mapped type:
reflective mappers should map a null bean if this property is null, rather than a
present bean with a null property value. This is useful e.g. for a
LEFT OUTER JOIN
or an optionally-present compound value type.-
Optional Element Summary
-
Element Details
-
value
String valueWhen annotating a type, thevalue
is the column name to check for null. When annotating a property, thevalue
is unused: instead, the property value is tested against null.- Returns:
- the column name whose null-ness shall be propagated
- Default:
""
-