|
|
|
@ -105,7 +105,7 @@ Also, the type of that aggregate is encoded in a type parameter. |
|
|
|
All references in an aggregate result in a foreign key relationship in the opposite direction in the database. |
|
|
|
All references in an aggregate result in a foreign key relationship in the opposite direction in the database. |
|
|
|
By default, the name of the foreign key column is the table name of the referencing entity. |
|
|
|
By default, the name of the foreign key column is the table name of the referencing entity. |
|
|
|
|
|
|
|
|
|
|
|
Alternatively you may choose to have them named by the entity name of the referencing entity ignoreing `@Table` annotations. |
|
|
|
Alternatively you may choose to have them named by the entity name of the referencing entity ignoring `@Table` annotations. |
|
|
|
You activate this behaviour by calling `setForeignKeyNaming(ForeignKeyNaming.IGNORE_RENAMING)` on the `RelationalMappingContext`. |
|
|
|
You activate this behaviour by calling `setForeignKeyNaming(ForeignKeyNaming.IGNORE_RENAMING)` on the `RelationalMappingContext`. |
|
|
|
|
|
|
|
|
|
|
|
For `List` and `Map` references an additional column is required for holding the list index or map key. |
|
|
|
For `List` and `Map` references an additional column is required for holding the list index or map key. |
|
|
|
|