Annotation Interface DependsOnProperties
Defines properties that the annotated property depends on.
These properties are taken into account when building fetch plans and when loading/saving cross-datastore references.
Also, if the annotated property is read-only (no setter), EntityPropertyChangeEvent
is sent for this
property when the specified properties are changed.
Specify only immediate local and reference properties in the annotation.
Property paths like customer.name
are not supported.
Note: Inclusion of reference or embedded attribute in this annotation may lead to eager loading of it's
nested reference attributes during EntityStates.isLoaded(java.lang.Object, java.lang.String)
check. It happens if they are used in the annotated method.
-
Optional Element Summary
-
Element Details
-
value
String[] value- Default:
- {""}
-