Branch: refs/heads/wip/6.0
Home:
https://github.com/hibernate/hibernate-orm
Commit: 45c891a75a545ba5d7ea06d19dae3f46f51993c8
https://github.com/hibernate/hibernate-orm/commit/45c891a75a545ba5d7ea06d...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-11-11 (Thu, 11 Nov 2021)
Changed paths:
M Jenkinsfile
Log Message:
-----------
Use emailext in Jenkins pipeline to notify explicit people
Commit: 24c758c2e95d31d39ce7393c32033ec189a0a394
https://github.com/hibernate/hibernate-orm/commit/24c758c2e95d31d39ce7393...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-11-11 (Thu, 11 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/OneToOneSecondPass.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/Queryable.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/query/DotIdentifierSequence.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/sql/exec/onetoone/bidirectional/EntityWithBidirectionalAssociationsOneOfWhichIsAJoinTableTest.java
Log Message:
-----------
Do not alter the join type anymore for non-real table groups that have table reference
joins. Handle nullable key tables for to-ones properly and implement bidirectional
one-to-one fetching optimization
Commit: 38d1c122eb2946c1d55f3e9965a80a811b4c16b0
https://github.com/hibernate/hibernate-orm/commit/38d1c122eb2946c1d55f3e9...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-11-11 (Thu, 11 Nov 2021)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4
M
hibernate-core/src/main/java/org/hibernate/engine/query/internal/NativeQueryInterpreterStandardImpl.java
M
hibernate-core/src/main/java/org/hibernate/engine/query/spi/NativeQueryInterpreter.java
M
hibernate-core/src/main/java/org/hibernate/internal/TableGroupFilterAliasGenerator.java
M
hibernate-core/src/main/java/org/hibernate/loader/ast/internal/CollectionLoaderSubSelectFetch.java
M
hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSelectBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/spi/Loadable.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/AbstractCompositeIdentifierMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EntityRepresentationStrategyPojoStandard.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/ForeignKeyDescriptor.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/MappingModelHelper.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractDiscriminatorMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AnyDiscriminatorPart.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AnyKeyPart.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicAttributeMapping.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/BasicValuedCollectionPart.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CaseStatementDiscriminatorMappingImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CollectionIdentifierDescriptorImpl.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/EmbeddedForeignKeyDescriptor.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityCollectionPart.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityVersionMappingImpl.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/NonAggregatedIdentifierMappingImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/PluralAttributeMappingImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/SimpleForeignKeyDescriptor.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/AbstractIdentifiableType.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/JpaMetamodelImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/NonAggregatedCompositeSqmPathSource.java
M
hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.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
M
hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M
hibernate-core/src/main/java/org/hibernate/procedure/internal/ProcedureParameterImpl.java
M hibernate-core/src/main/java/org/hibernate/query/NavigablePath.java
M hibernate-core/src/main/java/org/hibernate/query/TreatedNavigablePath.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaCollectionJoin.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaJoin.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaListJoin.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaMapJoin.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaPath.java
A hibernate-core/src/main/java/org/hibernate/query/criteria/JpaPluralJoin.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaSetJoin.java
M
hibernate-core/src/main/java/org/hibernate/query/hql/internal/BasicDotIdentifierConsumer.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/DomainPathPart.java
M
hibernate-core/src/main/java/org/hibernate/query/hql/internal/FullyQualifiedReflectivePath.java
M
hibernate-core/src/main/java/org/hibernate/query/hql/internal/QualifiedJoinPathConsumer.java
M
hibernate-core/src/main/java/org/hibernate/query/hql/internal/QualifiedJoinPredicatePathConsumer.java
M
hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/hql/spi/DotIdentifierConsumer.java
M
hibernate-core/src/main/java/org/hibernate/query/internal/QueryInterpretationCacheDisabledImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/internal/QueryInterpretationCacheStandardImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/internal/QueryParameterBindingsImpl.java
M hibernate-core/src/main/java/org/hibernate/query/results/TableGroupImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteFetchBuilderBasicPart.java
M
hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteFetchBuilderEntityValuedModelPart.java
M
hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderBasicModelPart.java
M
hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderCollectionStandard.java
M
hibernate-core/src/main/java/org/hibernate/query/results/complete/DelayedFetchBuilderBasicPart.java
M
hibernate-core/src/main/java/org/hibernate/query/results/complete/EntityResultImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicFetchBuilderLegacy.java
M
hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicFetchBuilderStandard.java
M
hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitFetchBuilderBasic.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractQuery.java
M hibernate-core/src/main/java/org/hibernate/query/spi/QueryInterpretationCache.java
M
hibernate-core/src/main/java/org/hibernate/query/sql/internal/NativeNonSelectQueryPlanImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sql/internal/NativeQueryImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/sql/internal/NativeSelectQueryPlanImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/sql/internal/ParameterRecognizerImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sql/internal/SQLQueryParser.java
M
hibernate-core/src/main/java/org/hibernate/query/sql/spi/NativeSelectQueryDefinition.java
M
hibernate-core/src/main/java/org/hibernate/query/sql/spi/ParameterInterpretation.java
A hibernate-core/src/main/java/org/hibernate/query/sql/spi/ParameterOccurrence.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/SqmPathSource.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/StrictJpaComplianceViolation.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/internal/DomainParameterXref.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/QuerySqmImpl.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/MatchingIdSelectionHelper.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/MultiTableSqmMutationConverter.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/AbstractCteMutationHandler.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/RestrictedDeleteExecutionDelegate.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/TableBasedUpdateHandler.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/UpdateExecutionDelegate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/spi/SqmCreationHelper.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/EntityValuedPathInterpretation.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/AbstractSqmAttributeJoin.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/AbstractSqmFrom.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/AbstractSqmPath.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/AbstractSqmPluralJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmBagJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmListJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMapJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmSetJoin.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmSingularJoin.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedBagJoin.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedCrossJoin.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedEntityJoin.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedListJoin.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedMapJoin.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedRoot.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedSetJoin.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedSimplePath.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedSingularJoin.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmEnumLiteral.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmFieldLiteral.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmFunction.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmLiteralEntityType.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmAttributeJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmCrossJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmEntityJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmFrom.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmRoot.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/cte/CteTableGroup.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/AbstractColumnReferenceQualifier.java
A
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/CollectionTableGroup.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/ColumnReferenceQualifier.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/CompositeTableGroup.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/CorrelatedTableGroup.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/LazyTableGroup.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/MutatingTableReferenceGroupWrapper.java
A
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/OneToManyTableGroup.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/RootTableGroupProducer.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/StandardTableGroup.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/TableReference.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/UnionTableGroup.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/UnionTableReference.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/spi/JdbcParameterBindings.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/AbstractFetchParent.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/basic/BasicFetch.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/EntityCollectionPartTableGroup.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/internal/EmbeddableFetchImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableResultImpl.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/AbstractEntityResultGraphNode.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityDelayedFetchImpl.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/EntityDelayedResultImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityFetchJoinedImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityJoinedFetchInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityResultImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityResultInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityResultJoinedSubclassImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntitySelectFetchByUniqueKeyInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntitySelectFetchInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/internal/domain/CircularFetchImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/spi/ListResultsConsumer.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/MutableMutabilityPlan.java
A
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/spi/EntityJavaTypeDescriptor.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/java/spi/JavaTypeRegistry.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/cid/keymanytoone/association/EagerKeyManyToOneTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/collection/basic/JoinFetchElementCollectionTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/TreatKeywordTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/TreatJoinTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ql/DestinationEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ql/FromEntity.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ql/IdentificationVariablesTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ql/JPAQLComplianceTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ql/MapIssueTest.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ql/NamedNativeQueryTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ql/TreatKeywordTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/querycache/AbstractQueryCacheResultTransformerTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/TreatKeywordTest.java
R hibernate-core/src/test/java/org/hibernate/test/jpa/ql/DestinationEntity.java
R hibernate-core/src/test/java/org/hibernate/test/jpa/ql/FromEntity.java
R
hibernate-core/src/test/java/org/hibernate/test/jpa/ql/IdentificationVariablesTest.java
R hibernate-core/src/test/java/org/hibernate/test/jpa/ql/JPAQLComplianceTest.java
R hibernate-core/src/test/java/org/hibernate/test/jpa/ql/MapIssueTest.java
R hibernate-core/src/test/java/org/hibernate/test/jpa/ql/NamedNativeQueryTest.java
R hibernate-core/src/test/java/org/hibernate/test/jpa/ql/TreatKeywordTest.java
M
hibernate-envers/src/main/java/org/hibernate/envers/function/OrderByFragmentFunction.java
Log Message:
-----------
Various fixes and move tests from test.jpa
* Implement parameter list expansion for native queries
* Fix empty subselect fetched collection initialization
* Implement support for nested table group joins to allow joins on the map-key
* Replace `getTableReference` with `resolveTableReference` where appropriate to
distinguish which calls can cause table reference joins to be created
* Fix some table reference resolving issues with inverse embeddable model parts
* Use a Fetch for entity ids instead of a DomainResult
* Fix bidirectional fetching for collection initializtion
* Implement table reference join pruning for treat usages
* Implement strict JPA compliance for different parameter styles
* Ensure From nodes in Criteria are unique
* Add unique key support to DelayedEntityFetch
* Check if FetchParent is enhanced for lazy loading for DelayedEntityFetch
* Register entity instances under all possible EntityUniqueKey
* Introduce EntityJavaTypeDescriptor that implements equality based on object identity
Commit: 9a329f4991d06a9f25bad2c34ba96bec0fddff62
https://github.com/hibernate/hibernate-orm/commit/9a329f4991d06a9f25bad2c...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-11-11 (Thu, 11 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/MapBinder.java
M
hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSelectBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/spi/Loadable.java
M hibernate-core/src/main/java/org/hibernate/mapping/IndexedCollection.java
M hibernate-core/src/main/java/org/hibernate/mapping/Map.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/AbstractCompositeIdentifierMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityMappingType.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/PluralAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/Queryable.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicAttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicValuedCollectionPart.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/EmbeddedForeignKeyDescriptor.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityCollectionPart.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/PluralAttributeMappingImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/AbstractPluralAttribute.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/AnyMappingSqmPathSource.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/BasicSqmPathSource.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/DiscriminatorSqmPathSource.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/EmbeddedSqmPathSource.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/EntitySqmPathSource.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/EntityTypeImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/ListAttributeImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/MapAttributeImpl.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/NonAggregatedCompositeSqmPathSource.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/SingularAttributeImpl.java
M
hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.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
M
hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/query/NavigablePath.java
M hibernate-core/src/main/java/org/hibernate/query/results/Builders.java
M
hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicFetchBuilderLegacy.java
M
hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicResultBuilderEntityCalculated.java
M
hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitFetchBuilderEmbeddable.java
M
hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitModelPartResultBuilderEmbeddable.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/SqmPathSource.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/EntityValuedPathInterpretation.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/AbstractSqmFrom.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/AbstractSqmPath.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/NonAggregatedCompositeSimplePath.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmAnyValuedSimplePath.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmEmbeddedValuedSimplePath.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmEntityValuedSimplePath.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmIndexedCollectionAccessPath.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMaxElementPath.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMaxIndexPath.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMinElementPath.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMinIndexPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmPath.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmPolymorphicRootDescriptor.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedRoot.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmCrossJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmEntityJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmRoot.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/SqlTreePrinter.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/CollectionTableGroup.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/ColumnReferenceQualifier.java
R
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/CompositeTableGroup.java
A
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/CorrelatedPluralTableGroup.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/CorrelatedTableGroup.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/LazyTableGroup.java
A
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/MappedByTableGroup.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/OneToManyTableGroup.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/PluralTableGroup.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/RootTableGroupProducer.java
A
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/StandardVirtualTableGroup.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/TableGroup.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/TableGroupJoinProducer.java
R
hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/EntityCollectionPartTableGroup.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/EmbeddableResultImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityDelayedFetchImpl.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/entitygraph/ast/CriteriaEntityGraphTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/entitygraph/ast/EntityGraphLoadPlanBuilderTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/entitygraph/ast/HqlEntityGraphTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ql/MapIssueTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ql/TreatKeywordTest.java
M hibernate-core/src/test/java/org/hibernate/test/jpa/MapContent.java
M hibernate-core/src/test/java/org/hibernate/test/jpa/Relationship.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectContext.java
Log Message:
-----------
Various fixes and move tests from test.jpa
* Remodel `@MapKey` support to not create subqueries in the on-clause anymore
* Make sure the index table group is reused for the to-one association a `@MapKey` refers
to
* Consistently register collection part table groups
* Implement support for FK optimization for EntityCollectionPart
Commit: 6c816932ed1b1e0305b64d05920b857a87db8809
https://github.com/hibernate/hibernate-orm/commit/6c816932ed1b1e0305b64d0...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-11-11 (Thu, 11 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/id/SelectGenerator.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/GeneratedValuesProcessor.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/dialect/functional/HANASearchTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/generatedkeys/select/MyEntity.hbm.xml
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/ComponentOwner.hbm.xml
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/PartiallyGeneratedComponentTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/schemavalidation/SynonymValidationTest.java
Log Message:
-----------
Fix generated values fetching for component attributes and implement identity select for
Oracle
Compare:
https://github.com/hibernate/hibernate-orm/compare/723735ca765a...6c81693...