Annotation Interface MappedCollection
@Retention(RUNTIME)
@Target({FIELD,METHOD,ANNOTATION_TYPE})
@Documented
public @interface MappedCollection
- Since:
- 1.1
- Author:
- Bastian Wilhelm, Mark Paluch
-
Optional Element Summary
Optional Elements
-
Element Details
-
idColumn
String idColumnThe column name for id column in the corresponding relationship table. The attribute supports Value Expressions to dynamically obtain the column name on a per-operation basis. Defaults toNamingStrategyusage if the value is empty. Expressions returning aStringaresanitizedprior usage. Expressions can also return aSqlIdentifierdirectly that is used as-is without further sanitization.- See Also:
- Default:
""
-
keyColumn
String keyColumnThe column name for key columns ofListorMapcollections in the corresponding relationship table. The attribute supports Value Expressions to dynamically obtain the column name on a per-operation basis. Defaults toNamingStrategyusage if the value is empty. Expressions returning aStringaresanitizedprior usage. Expressions can also return aSqlIdentifierdirectly that is used as-is without further sanitization.- See Also:
- Default:
""
-