Annotation Interface DBRef
An annotation that indicates the annotated field is to be stored using a
DBRef
.- Author:
- Jon Brisbin, Oliver Gierke, Thomas Darimont
-
Optional Element Summary
-
Element Details
-
db
String dbThe database the referred entity resides in.- Returns:
- empty String by default.
- Default:
- ""
-
lazy
boolean lazyControls whether the referenced entity should be loaded lazily. This defaults to false.- Returns:
- false by default.
- Default:
- false
-