[hibernate/hibernate-orm] 341267: HHH-3356 Support for normal and lateral subquery i...
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 341267b1336820be6e4ffbfe98856cc344faae85
https://github.com/hibernate/hibernate-orm/commit/341267b1336820be6e4ffbf...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2022-06-04 (Sat, 04 Jun 2022)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/query/hql/QueryLanguage.adoc
M documentation/src/main/asciidoc/userguide/chapters/query/hql/extras/statement_select_bnf.txt
M documentation/src/test/java/org/hibernate/userguide/hql/HQLTest.java
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HANASqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDBSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/TiDBSqlAstTranslator.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/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/TupleType.java
A hibernate-core/src/main/java/org/hibernate/query/criteria/JpaDerivedFrom.java
A hibernate-core/src/main/java/org/hibernate/query/criteria/JpaDerivedJoin.java
A hibernate-core/src/main/java/org/hibernate/query/criteria/JpaDerivedRoot.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaFrom.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaRoot.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaSelectCriteria.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaSubQuery.java
A hibernate-core/src/main/java/org/hibernate/query/derived/AnonymousTupleBasicEntityIdentifierMapping.java
A hibernate-core/src/main/java/org/hibernate/query/derived/AnonymousTupleBasicValuedModelPart.java
A hibernate-core/src/main/java/org/hibernate/query/derived/AnonymousTupleEmbeddableValuedModelPart.java
A hibernate-core/src/main/java/org/hibernate/query/derived/AnonymousTupleEntityValuedModelPart.java
A hibernate-core/src/main/java/org/hibernate/query/derived/AnonymousTuplePersistentSingularAttribute.java
A hibernate-core/src/main/java/org/hibernate/query/derived/AnonymousTupleSimpleSqmPathSource.java
A hibernate-core/src/main/java/org/hibernate/query/derived/AnonymousTupleSqmPathSource.java
A hibernate-core/src/main/java/org/hibernate/query/derived/AnonymousTupleTableGroupProducer.java
A hibernate-core/src/main/java/org/hibernate/query/derived/AnonymousTupleType.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/QuerySplitter.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SqmPathRegistryImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/SemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/StrictJpaComplianceViolation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/QuerySqmImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmTreePrinter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/CteInsertHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/spi/AbstractMutationHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/spi/BaseSemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.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/SqmCorrelatedRoot.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmDerivedRoot.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedRoot.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmDerivedJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmRoot.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/AbstractSqmSelectQuery.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSelectStatement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSubQuery.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/DelegatingTableGroup.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/QueryPartTableGroup.java
M hibernate-core/src/test/java/org/hibernate/orm/test/pagination/SubqueryPaginationTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/SubQueryInFromEmbeddedIdTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/SubQueryInFromIdClassTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/SubQueryInFromTests.java
M hibernate-testing/src/main/java/org/hibernate/testing/DialectChecks.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/domain/contacts/Address.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/domain/contacts/Contact.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectFeatureChecks.java
Log Message:
-----------
HHH-3356 Support for normal and lateral subquery in from clause
2 years, 6 months