|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface CollectionTableA 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,
CollectionTable| Optional Element Summary | |
|---|---|
String |
catalog
Deprecated. (Optional) The catalog of the table. |
String |
name
Deprecated. (Optional) The name of the collection table. |
javax.persistence.PrimaryKeyJoinColumn[] |
primaryKeyJoinColumns
Deprecated. (Optional) Used to specify a primary key column that is used as a foreign key to join to another table. |
String |
schema
Deprecated. (Optional) The schema of the table. |
javax.persistence.UniqueConstraint[] |
uniqueConstraints
Deprecated. (Optional) Unique constraints that are to be placed on the table. |
public abstract String name
public abstract String catalog
public abstract String schema
public abstract javax.persistence.PrimaryKeyJoinColumn[] primaryKeyJoinColumns
public abstract javax.persistence.UniqueConstraint[] uniqueConstraints
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||