@AutoClone @Builder(builderStrategy: SimpleStrategy, prefix: ) @CompileStatic class JoinTable extends Table
Represents a Join table in Grails mapping. It has a name which represents the name of the table, a key for the primary key and a column which is the other side of the join.
| Type | Name and description |
|---|---|
ColumnConfig |
columnThe child id column |
ColumnConfig |
keyThe foreign key column |
| Properties inherited from class | Properties |
|---|---|
class Table |
catalog, name, schema |
| Constructor and description |
|---|
JoinTable() |
| Methods inherited from class | Name |
|---|---|
class Table |
configureExisting, configureExisting, configureNew |
The child id column
The foreign key column
Configures the column
columnConfig - The column configConfigures the column
columnName - the column nameConfigures the column
columnConfig - The column configGroovy Documentation