|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface CollectionTable
A CollectionTable annotation is used in conjunction with a BasicCollection or a BasicMap annotation. However, if a CollectionTable is not defined, one will be defaulted.
BasicMap
,
BasicCollection
Optional Element Summary | |
---|---|
java.lang.String |
catalog
(Optional) The catalog of the table. |
java.lang.String |
name
(Optional) The name of the collection table. |
PrimaryKeyJoinColumn[] |
primaryKeyJoinColumns
(Optional) Used to specify a primary key column that is used as a foreign key to join to another table. |
java.lang.String |
schema
(Optional) The schema of the table. |
UniqueConstraint[] |
uniqueConstraints
(Optional) Unique constraints that are to be placed on the table. |
public abstract java.lang.String name
public abstract java.lang.String catalog
public abstract java.lang.String schema
public abstract PrimaryKeyJoinColumn[] primaryKeyJoinColumns
public abstract UniqueConstraint[] uniqueConstraints
|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |