javax.persistence
Annotation Type CollectionTable


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface CollectionTable

The @CollectionTable is used for collections of basic types

Since:
JPA 2.0

Optional Element Summary
 java.lang.String catalog
           
 JoinColumn[] joinColumns
           
 java.lang.String name
           
 java.lang.String schema
           
 UniqueConstraint[] uniqueConstraints
           
 

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:
{}