Package org.jooq.meta

Interface ManyToManyKeyDefinition

All Superinterfaces:
ConstraintDefinition, Definition
All Known Implementing Classes:
DefaultManyToManyKeyDefinition

public interface ManyToManyKeyDefinition extends ConstraintDefinition
An object holding information about an many to many foreign key relationship.

This constraint represents the UniqueKeyDefinition that enforces the relationship in the relationship table. The UniqueKeyDefinition is a composite key, whose columns are completely contained in the two outbound ForeignKeyDefinition specified by getForeignKey1() and getForeignKey2(). The order of ForeignKeyDefinition depends on the navigation direction.

Author:
Lukas Eder