Clarify MappedSuperclass and Unidirectional associations (with info on one-to-many and many-to-many associations).
This commit is contained in:
parent
72081ff7ba
commit
4a231a34f2
@ -18,7 +18,11 @@ appear in the middle of an otherwise mapped inheritance hierarchy
|
|||||||
|
|
||||||
A mapped superclass cannot be an entity, it is not query-able and
|
A mapped superclass cannot be an entity, it is not query-able and
|
||||||
persistent relationships defined by a mapped superclass must be
|
persistent relationships defined by a mapped superclass must be
|
||||||
unidirectional. For further support of inheritance, the single or
|
unidirectional (with an owning side only). This means that One-To-Many
|
||||||
|
assocations are not possible on a mapped superclass at all.
|
||||||
|
Furthermore Many-To-Many associations are only possible if the
|
||||||
|
mapped superclass is only used in exactly one entity at the moment.
|
||||||
|
For further support of inheritance, the single or
|
||||||
joined table inheritance features have to be used.
|
joined table inheritance features have to be used.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user