Indicates that the property value is set by joining from another table (pojo class). You may use this on a
single object (one to one, many to one), or on a collection (one to many, many to many). If joining to a
collection, make sure that you instantiate it as a modifiable collection. Persism will not do that fo you.
- See Also:
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionComma seperated property names whose values are used to join to the target table.Class<?>
Class of the POJO that this class joins to.Comma seperated property names whose values are used to join to the parent table. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Indicates that you use String primary/foreign key values in your DB which are case-sensitive.
-
Element Details
-
to
Class<?> toClass of the POJO that this class joins to.- Returns:
- target POJO Class
-
onProperties
String onPropertiesComma seperated property names whose values are used to join to the target table.- Returns:
- property names
-
toProperties
String toPropertiesComma seperated property names whose values are used to join to the parent table.- Returns:
- property names
-
-
-
caseSensitive
boolean caseSensitiveIndicates that you use String primary/foreign key values in your DB which are case-sensitive. Default false.- Returns:
- case-sensitive
- Default:
- false
-