Branch: refs/heads/wip/6.0
Home:
https://github.com/hibernate/hibernate-orm
Commit: 524b46b246987678ae4d7df9bbaa074c412466e3
https://github.com/hibernate/hibernate-orm/commit/524b46b246987678ae4d7df...
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/internal/AbstractCompositeIdentifierMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorDynamicMap.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorPojoStandard.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableRepresentationStrategyMap.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableRepresentationStrategyPojo.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/ManagedTypeRepresentationResolverStandard.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/AttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/CompositeIdentifierMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableMappingType.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableValuedModelPart.java
A
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/IEmbeddableMappingType.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedAttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedCollectionPart.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedIdentifierMappingImpl.java
A
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/IdClassEmbeddable.java
A
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/IdClassRepresentationStrategy.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.java
A
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/NonAggregatedIdentifierMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/NonAggregatedIdentifierMappingImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/SelectableMappingsImpl.java
A
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualIdEmbeddable.java
A
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualIdRepresentationStrategy.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/DomainPathContinuation.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/spi/ManagedTypeRepresentationResolver.java
M
hibernate-core/src/main/java/org/hibernate/query/results/DomainResultCreationStateImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitFetchBuilderEntity.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/FetchParent.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/EmbeddableResultGraphNode.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableFetchImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableForeignKeyResultImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableResultImpl.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/attrorder/AttributeOrderingTests.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable`
This initial commit is scaled back - it only introduces the embeddable forms and
supporting changes.
Still need to
- integrate EmbeddableInstantiator work
- 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
Commit: dd4f380ea9d176fda1f05789218914254a86035b
https://github.com/hibernate/hibernate-orm/commit/dd4f380ea9d176fda1f0578...
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/internal/util/MutableInteger.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/AbstractCompositeIdentifierMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorDynamicMap.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorPojoStandard.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableRepresentationStrategyMap.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableRepresentationStrategyPojo.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/ManagedTypeRepresentationResolverStandard.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/CompositeIdentifierMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableMappingType.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableValuedModelPart.java
R
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/IEmbeddableMappingType.java
A
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddableMappingTypeImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedAttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedCollectionPart.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedIdentifierMappingImpl.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/MappingModelCreationHelper.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationProcess.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/NonAggregatedIdentifierMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/NonAggregatedIdentifierMappingImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/SelectableMappingsImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualIdEmbeddable.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/DomainPathContinuation.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/spi/ManagedTypeRepresentationResolver.java
M
hibernate-core/src/main/java/org/hibernate/query/results/DomainResultCreationStateImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitFetchBuilderEntity.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/FetchParent.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/EmbeddableResultGraphNode.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableFetchImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableForeignKeyResultImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableResultImpl.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/attrorder/AttributeOrderingTests.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable`
This second commit renames `EmbeddableMappingType`
Still need to
- integrate EmbeddableInstantiator work
- 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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
Commit: 86e8b2751c898e859d45b2618837c9930baf807f
https://github.com/hibernate/hibernate-orm/commit/86e8b2751c898e859d45b26...
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/EmbeddableMappingType.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableValuedModelPart.java
A
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/NonAggregatedIdentifierMapping.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/MappingModelCreationHelper.java
R
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/NonAggregatedIdentifierMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/NonAggregatedIdentifierMappingImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualIdEmbeddable.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable`
This 3rd commit cleans up some code
Still need to
- integrate EmbeddableInstantiator work
- 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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
Commit: 546a635be9a5eadb03b85a8507309cd40ee28364
https://github.com/hibernate/hibernate-orm/commit/546a635be9a5eadb03b85a8...
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/sql/ast/spi/SqlExpressionResolver.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable`
Added new form of `SqlExpressionResolver#createColumnReferenceKey`
Still need to
- integrate EmbeddableInstantiator work
- 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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
Commit: 0322d8fa848aa45d1fc7e7a3d645323388a57522
https://github.com/hibernate/hibernate-orm/commit/0322d8fa848aa45d1fc7e7a...
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/bytecode/spi/ReflectionOptimizer.java
M hibernate-core/src/main/java/org/hibernate/loader/PropertyPath.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorPojoOptimized.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorPojoStandard.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableRepresentationStrategyPojo.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/IdClassRepresentationStrategy.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/NonAggregatedIdentifierMappingImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/NavigableRole.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/spi/EmbeddableInstantiator.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/AbstractFetchParentAccess.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable`
EmbeddableInstantiator
Still need to
- integrate EmbeddableInstantiator work
- 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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
Commit: bb2b0a6c470e609083ae71432e07831058e99200
https://github.com/hibernate/hibernate-orm/commit/bb2b0a6c470e609083ae714...
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/MappingModelCreationHelper.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable`
Clean-up
Still need to
- integrate EmbeddableInstantiator work
- 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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
Commit: d506bb379c0d77d0f4e258a5183195afdd6ea961
https://github.com/hibernate/hibernate-orm/commit/d506bb379c0d77d0f4e258a...
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/spi/ManagedTypeRepresentationResolver.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/spi/ManagedTypeRepresentationStrategy.java
M hibernate-core/src/main/java/org/hibernate/tuple/Instantiator.java
M hibernate-core/src/main/java/org/hibernate/tuple/PojoInstantiator.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
M
hibernate-core/src/main/java/org/hibernate/tuple/entity/DynamicMapEntityTuplizer.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityTuplizer.java
R hibernate-core/src/main/java/org/hibernate/tuple/entity/PojoEntityInstantiator.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/PojoEntityTuplizer.java
M
hibernate-core/src/test/java/org/hibernate/test/dynamicentity/tuplizer/MyEntityTuplizer.java
M
hibernate-core/src/test/java/org/hibernate/test/dynamicentity/tuplizer2/MyEntityTuplizer.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable` + instantiators
More clean-up (Tuplizers!!)
Mostly EntityTuplizer in this commit
Still need to
- integrate EmbeddableInstantiator work
- 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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
Commit: 185bcd43aae5d7a86ef4ea3474cfba1075c6682e
https://github.com/hibernate/hibernate-orm/commit/185bcd43aae5d7a86ef4ea3...
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/internal/EmbeddableInstantiatorPojoStandard.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableMappingType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityMappingType.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ManagedMappingType.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/NonAggregatedIdentifierMappingImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualIdEmbeddable.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualIdRepresentationStrategy.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/EntityPersister.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/AbstractFetchParentAccess.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/BatchEntitySelectFetchInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityDelayedFetchInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntitySelectFetchInitializer.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/derivedidentities/e1/c/DerivedIdentitySimpleParentEmbeddedDepTest.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable` + instantiators
Prep work for EmbeddableInstantiator - initializer
Still need to
- integrate EmbeddableInstantiator work
- 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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
- ability to use the containing composite owner as the parent of a composite (legacy
behavior is to always use the "first" entity
Commit: 01c6b144cecf77af797adbc718651f4de90b521c
https://github.com/hibernate/hibernate-orm/commit/01c6b144cecf77af797adbc...
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/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable` + instantiators
Prep work for EmbeddableInstantiator - initializer
Still need to
- integrate EmbeddableInstantiator work
- 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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
- ability to use the containing composite owner as the parent of a composite (legacy
behavior is to always use the "first" entity
Commit: 29ed0a0566babc0f2b2bd0f0f66b3a34dc110a1f
https://github.com/hibernate/hibernate-orm/commit/29ed0a0566babc0f2b2bd0f...
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/engine/spi/EntityKey.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/AttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddableMappingTypeImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/cid/idclass/Customer.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/cid/idclass/NestedIdClassTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/cid/idclass/Order.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/cid/idclass/OrderId.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/cid/idclass/Payment.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/cid/idclass/PaymentId.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable` + instantiators
Prep work for EmbeddableInstantiator - initializer
Still need to
- integrate EmbeddableInstantiator work
- 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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
- ability to use the containing composite owner as the parent of a composite (legacy
behavior is to always use the "first" entity
Commit: 142299e7a8774f842c6ba868f3bc9a1eaa00ef70
https://github.com/hibernate/hibernate-orm/commit/142299e7a8774f842c6ba86...
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/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/cid/idclass/NestedIdClassTests.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable` + instantiators
Prep work for EmbeddableInstantiator - initializer
Still need to
- integrate EmbeddableInstantiator work
- 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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
- ability to use the containing composite owner as the parent of a composite (legacy
behavior is to always use the "first" entity
Commit: 42d1fcca1956844a0ae2c951de5d26e3f4c1a58c
https://github.com/hibernate/hibernate-orm/commit/42d1fcca1956844a0ae2c95...
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/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable` + instantiators
Prep work for EmbeddableInstantiator - initializer
Still need to
- integrate EmbeddableInstantiator work
- 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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
- ability to use the containing composite owner as the parent of a composite (legacy
behavior is to always use the "first" entity
Commit: 82d884d65cab12d6d17ce23a68ed2e0a4366e722
https://github.com/hibernate/hibernate-orm/commit/82d884d65cab12d6d17ce23...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-01 (Wed, 01 Dec 2021)
Changed paths:
A
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorProxied.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableRepresentationStrategyPojo.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable` + instantiators
Prep work for EmbeddableInstantiator - initializer
Still need to
- integrate EmbeddableInstantiator work
- 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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
- ability to use the containing composite owner as the parent of a composite (legacy
behavior is to always use the "first" entity
Commit: a9fce4b69dd2698268817c23a0dd2898ef410bdc
https://github.com/hibernate/hibernate-orm/commit/a9fce4b69dd2698268817c2...
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/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable` + instantiators
EmbeddableInitializer fully uses EmbeddableInstantiator and value injection
Still need to
- integrate EmbeddableInstantiator work (ComponentType/ComponentTuplizer)
- 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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
- ability to use the containing composite owner as the parent of a composite (legacy
behavior is to always use the "first" entity
Commit: 5b44aa5d44588985baaeb5753914f2a9465d33c8
https://github.com/hibernate/hibernate-orm/commit/5b44aa5d44588985baaeb57...
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/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable` + instantiators
EmbeddableInitializer fully uses EmbeddableInstantiator and value injection
Still need to
- integrate EmbeddableInstantiator work (ComponentType/ComponentTuplizer)
- 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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
- ability to use the containing composite owner as the parent of a composite (legacy
behavior is to always use the "first" entity
Commit: eb5afb0427a72a827f7a6ef8c4b88ee07efc2a47
https://github.com/hibernate/hibernate-orm/commit/eb5afb0427a72a827f7a6ef...
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/tuple/component/AbstractComponentTuplizer.java
M hibernate-core/src/main/java/org/hibernate/tuple/component/ComponentTuplizer.java
M
hibernate-core/src/main/java/org/hibernate/tuple/component/DynamicMapComponentTuplizer.java
M
hibernate-core/src/main/java/org/hibernate/tuple/component/PojoComponentTuplizer.java
M hibernate-core/src/main/java/org/hibernate/type/ComponentType.java
M hibernate-core/src/main/java/org/hibernate/type/EmbeddedComponentType.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/component/proxy/ComponentBasicProxyTest.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable` + instantiators
Move all component instantiations to use the new mapping model EmbeddableInstantiator
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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
- ability to use the containing composite owner as the parent of a composite (legacy
behavior is to always use the "first" entity
- clean up ComponentType, esp wrt its use of ComponentTuplizer
Commit: b23c2f48c16036e9181612412bc002c31a8a8724
https://github.com/hibernate/hibernate-orm/commit/b23c2f48c16036e91816124...
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/collection/internal/PersistentArrayHolder.java
M
hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLoadEventListener.java
M hibernate-core/src/main/java/org/hibernate/mapping/Component.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/AttributeFactory.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorDynamicMap.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorPojoOptimized.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorPojoStandard.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/AttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ManagedMappingType.java
A
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractEmbeddableMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicEntityIdentifierMappingImpl.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/EmbeddedIdentifierMappingImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/GeneratedValuesProcessor.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/NonAggregatedIdentifierMappingImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualIdEmbeddable.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualIdRepresentationStrategy.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/EntityPersister.java
M
hibernate-core/src/main/java/org/hibernate/property/access/internal/ChainedPropertyAccessImpl.java
M
hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessEmbeddedImpl.java
M
hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessMapImpl.java
M
hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessStrategyBackRefImpl.java
M
hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessStrategyIndexBackRefImpl.java
M
hibernate-core/src/main/java/org/hibernate/property/access/internal/PropertyAccessStrategyNoopImpl.java
M
hibernate-core/src/main/java/org/hibernate/property/access/spi/EnhancedSetterImpl.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/Setter.java
M hibernate-core/src/main/java/org/hibernate/property/access/spi/SetterFieldImpl.java
M
hibernate-core/src/main/java/org/hibernate/property/access/spi/SetterMethodImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
M
hibernate-core/src/main/java/org/hibernate/transform/AliasToBeanResultTransformer.java
M
hibernate-core/src/main/java/org/hibernate/tuple/component/AbstractComponentTuplizer.java
M hibernate-core/src/main/java/org/hibernate/type/ComponentType.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/property/PropertyAccessStrategyMapTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/serialization/GetterSetterSerializationTest.java
M
hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/ComponentPropertyMapper.java
M
hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/SinglePropertyMapper.java
M
hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/EmbeddedIdMapper.java
M
hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/SingleIdMapper.java
M
hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/VirtualEntitySingleIdMapper.java
M
hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/AbstractCollectionMapper.java
M
hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/relation/AbstractToOneMapper.java
M
hibernate-envers/src/main/java/org/hibernate/envers/internal/revisioninfo/DefaultTrackingModifiedEntitiesRevisionInfoGenerator.java
M
hibernate-envers/src/main/java/org/hibernate/envers/internal/revisioninfo/RevisionTimestampValueResolver.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable` + instantiators
- Clean up Component Type, removing as many calls to its tuplizer as possible atm
- Clean up ManagedMappingType, EntityPersister, etc - mainly work around getting and
setting value(s)
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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
- ability to use the containing composite owner as the parent of a composite (legacy
behavior is to always use the "first" entity
- clean up ComponentType, esp wrt its use of ComponentTuplizer
Commit: dc744844e4ec61c69b963fea282b34bffe08f950
https://github.com/hibernate/hibernate-orm/commit/dc744844e4ec61c69b963fe...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-01 (Wed, 01 Dec 2021)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/cid/idclass/NestedIdClassTests.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/cid/nonaggregated/SmokeTests.java
Log Message:
-----------
Introduce `VirtualIdEmbeddable` and `IdClassEmbeddable` + instantiators
- Clean up Component Type, removing as many calls to its tuplizer as possible atm
- Clean up ManagedMappingType, EntityPersister, etc - mainly work around getting and
setting value(s)
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
- share `#finishInit` handling for `EmbeddableMappingType`, `VirtualIdEmbeddable` and
`IdClassEmbeddable`
- ability to use the containing composite owner as the parent of a composite (legacy
behavior is to always use the "first" entity
- clean up ComponentType, esp wrt its use of ComponentTuplizer
Compare:
https://github.com/hibernate/hibernate-orm/compare/25d8fda12c9c...dc74484...