[hibernate/hibernate-orm] 23098c: Disable select item deduplication for query groups...
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 23098ca2546ed5e38e684059238b9553c90679fc
https://github.com/hibernate/hibernate-orm/commit/23098ca2546ed5e38e68405...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-03-26 (Sat, 26 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ForeignKeyDescriptor.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/CollectionIdentifierDescriptorImpl.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/EntityRowIdMappingImpl.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/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/query/results/DomainResultCreationStateImpl.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteFetchBuilderEmbeddableValuedModelPart.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/CompleteResultBuilderBasicValuedConverted.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderBasicValuedStandard.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderCollectionStandard.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/dynamic/DynamicResultBuilderAttribute.java
M hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicResultBuilderBasicConverted.java
M hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicResultBuilderBasicStandard.java
M hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicResultBuilderEntityStandard.java
M hibernate-core/src/main/java/org/hibernate/query/results/implicit/ImplicitFetchBuilderBasic.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/function/SelfRenderingFunctionSqlAstExpression.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/sql/internal/SqlAstProcessingStateImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/SqlAstQueryPartProcessingStateImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/SqmParameterInterpretation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/Conversion.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/SqlExpressionResolver.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/Any.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/BinaryArithmeticExpression.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CaseSearchedExpression.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CaseSimpleExpression.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ConvertedQueryLiteral.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/Duration.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/EntityTypeLiteral.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/Every.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/JdbcLiteral.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/Over.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/QueryLiteral.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/SqlTuple.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/UnaryOperation.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/predicate/Predicate.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/select/QuerySpec.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/collection/internal/CollectionDomainResult.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/collection/internal/EagerCollectionFetch.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/entity/AbstractEntityResultGraphNode.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/NotFoundSnapshotResult.java
Log Message:
-----------
Disable select item deduplication for query groups and deduplicate within a fetch parent
Commit: 352970604da4de9889f0e398376ed1c8540b788e
https://github.com/hibernate/hibernate-orm/commit/352970604da4de9889f0e39...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-03-26 (Sat, 26 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/OracleSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
Log Message:
-----------
Render select item aliases for sub queries in from clause to avoid possible alias collision
Commit: bbe87838873e04b7d72e4170a5e5c9d1cface707
https://github.com/hibernate/hibernate-orm/commit/bbe87838873e04b7d72e417...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-03-26 (Sat, 26 Mar 2022)
Changed paths:
M gradle/version.properties
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/SqlAstProcessingStateImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/SqlAstQueryPartProcessingStateImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
Log Message:
-----------
Further improvements
Compare: https://github.com/hibernate/hibernate-orm/compare/b4a1b149fb85...bbe8783...
2 years, 5 months