Branch: refs/heads/wip/6.0
Home:
https://github.com/hibernate/hibernate-orm
Commit: 8ab27a0ff0e5d2ace1aed523aa90614b4e0f3ad0
https://github.com/hibernate/hibernate-orm/commit/8ab27a0ff0e5d2ace1aed52...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-01 (Wed, 01 Dec 2021)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractEmbeddableMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddableMappingTypeImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/IdClassEmbeddable.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualIdEmbeddable.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable` + instantiators
- shared `#finishInitialization` handling for `VirtualIdEmbeddable` and
`IdClassEmbeddable`
note: was not yet able to get that working with `EmbeddableMappingType`
- clean up ComponentType, esp wrt its use of ComponentTuplizer
Still need to
- integrate embedded forms. `VirtualIdEmbeddable` does not really need it as it can use
the id-mapping itself as the embedded form. But `IdClassEmbedded` should really be
integrated
- integrate `VirtualKeyEmbeddable` and `VirtualKeyEmbedded` for use as inverse composite
fks
- ability to use the containing composite owner as the parent of a composite (legacy
behavior is to always use the "first" entity