javax.persistence
Annotation Type SecondaryTable


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface SecondaryTable

The @SecondaryTable annotation.


Required Element Summary
 java.lang.String name
          (Required) the name of the table
 
Optional Element Summary
 java.lang.String catalog
           
 PrimaryKeyJoinColumn[] pkJoinColumns
           
 java.lang.String schema
           
 UniqueConstraint[] uniqueConstraints
           
 

Element Detail

name

public abstract java.lang.String name
(Required) the name of the table

catalog

public abstract java.lang.String catalog
Default:
""

schema

public abstract java.lang.String schema
Default:
""

pkJoinColumns

public abstract PrimaryKeyJoinColumn[] pkJoinColumns
Default:
{}

uniqueConstraints

public abstract UniqueConstraint[] uniqueConstraints
Default:
{}