javax.persistence
Annotation Type CollectionTable
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface CollectionTable
The CollectionTable annotation is used in the mapping of collections of basic
or embeddable types. The CollectionTable annotation specifies the table that
is used for the mapping of the collection and is specified on the
collection-valued field or property.
- Since:
- Java Persistence 2.0
name
public abstract java.lang.String name
- Default:
- ""
catalog
public abstract java.lang.String catalog
- Default:
- ""
schema
public abstract java.lang.String schema
- Default:
- ""
joinColumns
public abstract JoinColumn[] joinColumns
- Default:
- {}
uniqueConstraints
public abstract UniqueConstraint[] uniqueConstraints
- Default:
- {}