1
0
mirror of synced 2025-01-29 19:41:45 +03:00

Clarify MappedSuperclass and Unidirectional associations (with info on one-to-many and many-to-many associations).

This commit is contained in:
Benjamin Eberlei 2010-12-31 14:44:14 +01:00
parent 72081ff7ba
commit 4a231a34f2

View File

@ -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
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.