Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 306991f8d9a34b41ddf716fc5dbc648b4d25584f
https://github.com/hibernate/hibernate-orm/commit/306991f8d9a34b41ddf716f...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-09-07 (Sat, 07 Sep 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/QueryProducer.java
M
hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.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/from/SqmFrom.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSelectClause.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collectionelement/EmbeddableCollectionElementWithLazyManyToOneTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/embedded/many2one/EmbeddableWithMany2OneTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/idmanytoone/IdManyToOneTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/refcolnames/misc/Misc0Test.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/refcolnames/misc/Misc1Test.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/associations/FieldWithUnderscoreTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/binding/annotations/embedded/EmbeddedTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/cid/CompositeIdTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/compositeelement/CompositeElementTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/cuk/CompositePropertyRefTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/formulajoin/FormulaJoinTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/hql/ASTParserLoadingTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/hql/SubQueryTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/hql/WithClauseTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/idbag/IdBagTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/discriminator/MappedSuperclassExtendsEntityTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/valuehandlingmode/inline/NonPkAssociationEqualityPredicateTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/ql/TreatKeywordTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/legacy/ABCTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/locking/warning/LockNoneWarmingTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/map/MapIndexFormulaTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/inheritance/discriminator/MultiInheritanceImplicitDowncastTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/readwrite/AbstractReadWriteTests.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/orphan/one2one/pk/unidirectional/DeleteOneToOneOrphansTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/orphan/onetomany/DeleteOneToManyOrphansTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/propertyref/basic/PropertyRefTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/query/results/ImplicitSelectWithJoinTests.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/exec/CrossJoinTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/querycache/AbstractQueryCacheResultTransformerTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/ternary/TernaryTest.java
Log Message:
-----------
HHH-18584 disallow "ambiguous" queries for the deprecated createQuery()
method
and add support for using 'this' alias to infer the 'select' list (JPA
3.2)
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 0c1a1e983274be3a3f7d8d6bb22648b5a7d70c3b
https://github.com/hibernate/hibernate-orm/commit/0c1a1e983274be3a3f7d8d6...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-09-07 (Sat, 07 Sep 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.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/AbstractSqmPluralJoin.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/from/SqmAttributeJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmFrom.java
Log Message:
-----------
HHH-18584 fix logic for deciding if something is implicitly selectable
implicit joins should not be added to the select list!
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Compare:
https://github.com/hibernate/hibernate-orm/compare/2630b33261f4...0c1a1e9...
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications