Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 24937b4e67571ac6f11820c7076828707a6a03fc
https://github.com/hibernate/hibernate-orm/commit/24937b4e67571ac6f11820c...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/TypeBeanInstanceProducer.java
M
hibernate-core/src/main/java/org/hibernate/id/enhanced/CustomOptimizerDescriptor.java
M hibernate-core/src/main/java/org/hibernate/internal/util/ReflectHelper.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorRecordStandard.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/StandardHqlTranslator.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/Compatibility.java
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmDynamicInstantiation.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/instantiation/internal/DynamicInstantiationResultImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/instantiation/internal/InstantiationHelper.java
M hibernate-core/src/main/java/org/hibernate/type/EnumType.java
M hibernate-core/src/main/java/org/hibernate/type/SerializableToBlobType.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/querycache/AbstractQueryCacheResultTransformerTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectContext.java
M
tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/Validation.java
Log Message:
-----------
HHH-17729 move validation of constructors in HQL instantiations to SemanticQueryBuilder
report SemanticExceptions with the query string
fix some warnings in ReflectHelper
Commit: d09d6ffdf08fc24dfad877b0a4f80e90720a6c9e
https://github.com/hibernate/hibernate-orm/commit/d09d6ffdf08fc24dfad877b...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M
tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Book.java
M
tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Dao.java
A
tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Dto.java
Log Message:
-----------
HHH-17729 move validation of constructors in HQL instantiations to SemanticQueryBuilder
test for query method generation
Commit: 1a9ec1d0ad248a4c58f70a3aabb5ec2a7c081270
https://github.com/hibernate/hibernate-orm/commit/1a9ec1d0ad248a4c58f70a3...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmDynamicInstantiation.java
Log Message:
-----------
HHH-17729 move validation of constructors in HQL instantiations to SemanticQueryBuilder
workaround for jpamodelgen
Commit: 766234d28125d6c4e387dc65d0043ea079b59aff
https://github.com/hibernate/hibernate-orm/commit/766234d28125d6c4e387dc6...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/query/ToHqlStringTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/DynamicInstantiationTests.java
Log Message:
-----------
HHH-17729 move validation of constructors in HQL instantiations to SemanticQueryBuilder
fix tests
Commit: dcb2c60d4e3a43b3e0c37db42df561258f00cae3
https://github.com/hibernate/hibernate-orm/commit/dcb2c60d4e3a43b3e0c37db...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-02-12 (Mon, 12 Feb 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/select/SqmDynamicInstantiation.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/instantiation/internal/DynamicInstantiationAssemblerInjectionImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/instantiation/internal/InstantiationHelper.java
Log Message:
-----------
HHH-17729 move validation of constructors in HQL instantiations to SemanticQueryBuilder
also validate injection via fields/properties
Commit: a9ea331e407c163ced29354e67e985b62fea6c0c
https://github.com/hibernate/hibernate-orm/commit/a9ea331e407c163ced29354...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmDynamicInstantiation.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/instantiation/internal/InstantiationHelper.java
Log Message:
-----------
HHH-17729 move validation of constructors in HQL instantiations to SemanticQueryBuilder
also validate injection via fields/properties
Commit: 70705f3e96dcc97e460660316467b1c04f85324d
https://github.com/hibernate/hibernate-orm/commit/70705f3e96dcc97e4606603...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M
hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/instantiation/InstantiationWithMultiplePrimitiveConstructorsTest.java
Log Message:
-----------
HHH-17729 move validation of constructors in HQL instantiations to SemanticQueryBuilder
fix test
Commit: e5a994bfa130502fddc76853f7f048d2bd9e74a9
https://github.com/hibernate/hibernate-orm/commit/e5a994bfa130502fddc7685...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-02-12 (Mon, 12 Feb 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/expression/Compatibility.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/instantiation/internal/DynamicInstantiationAssemblerInjectionImpl.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/instantiation/internal/InstantiationHelper.java
M
tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaEntity.java
M
tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Dao.java
Log Message:
-----------
fix typechecking of primitives in instantiations for query methods
Commit: d93463c06019f31ff6b55be900b545b0404d4e9c
https://github.com/hibernate/hibernate-orm/commit/d93463c06019f31ff6b55be...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/processing/HQL.java
Log Message:
-----------
document record instantiation for @HQL methods
Compare:
https://github.com/hibernate/hibernate-orm/compare/0bce456e3a29...d93463c...