org.jboss.envers
Annotation Type VersionsJoinTable


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

Author:
Adam Warski (adam at warski dot org)

Optional Element Summary
 java.lang.String catalog
           
 javax.persistence.JoinColumn[] inverseJoinColumns
           
 java.lang.String name
           
 java.lang.String schema
           
 

name

public abstract java.lang.String name
Returns:
Name of the join table. Defaults to a concatenation of the names of the primary table of the entity owning the association and of the primary table of the entity referenced by the association.
Default:
""

schema

public abstract java.lang.String schema
Returns:
The schema of the join table. Defaults to the schema of the entity owning the association.
Default:
""

catalog

public abstract java.lang.String catalog
Returns:
The catalog of the join table. Defaults to the catalog of the entity owning the association.
Default:
""

inverseJoinColumns

public abstract javax.persistence.JoinColumn[] inverseJoinColumns
Returns:
The foreign key columns of the join table which reference the primary table of the entity that does not own the association (i.e. the inverse side of the association).
Default:
{}