Package org.hibernate.annotations
Annotation Type Bag
-
@Target({METHOD,FIELD,ANNOTATION_TYPE}) @Retention(RUNTIME) public @interface Bag
Can be used to map aList
-valued attribute usingCollectionClassification.BAG
semantics.- "API Note:"
- Ignored if either
OrderColumn
orListIndexBase
is used. - "Implementation Specification:"
- May also be specified SessionFactory-wide using "hibernate.mapping.default_list_semantics"