[hibernate/hibernate-orm] f0c9d4: make fully-qualified enum literals in @Query pass ...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: f0c9d4ec4cf902a5a09f35acade24b97a3c69445
https://github.com/hibernate/hibernate-orm/commit/f0c9d4ec4cf902a5a09f35a...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-28 (Thu, 28 Mar 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/JpaMetamodel.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/MappingMetamodelImpl.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/BasicDotIdentifierConsumer.java
R tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/Author.java
R tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/Book.java
R tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/BookAuthorRepository.java
R tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/DataTest.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/basic/Author.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/basic/Book.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/basic/BookAuthorRepository.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/basic/DataTest.java
M tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/eg/Library.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockSessionFactory.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/ProcessorSessionFactory.java
Log Message:
-----------
make fully-qualified enum literals in @Query pass the validation
JD examples and TCK require this, though it's not really correct
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: ce317960fc7b04881969f66512f2a7baf0eef84b
https://github.com/hibernate/hibernate-orm/commit/ce317960fc7b04881969f66...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-28 (Thu, 28 Mar 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/JpaMetamodel.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/MappingMetamodelImpl.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaTupleElement.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/eg/Library.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockSessionFactory.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/ProcessorSessionFactory.java
Log Message:
-----------
handle unqualified enum values in @Query
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 3dc5896a08dd544c55f9358dcc8d7bbe0b8396fe
https://github.com/hibernate/hibernate-orm/commit/3dc5896a08dd544c55f9358...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-28 (Thu, 28 Mar 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/JpaMetamodelImpl.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
Log Message:
-----------
handle inner enum literal in HQL
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-orm/compare/fe4a3fbaf3cf...3dc5896...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
9 months
[hibernate/hibernate-orm] 95641b: HHH-17884 Respect ordering guarantee of ORDINAL/ST...
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 95641b23663324da675a06f301611567b22bab33
https://github.com/hibernate/hibernate-orm/commit/95641b23663324da675a06f...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2024-03-28 (Thu, 28 Mar 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLEnumJdbcType.java
M hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
M hibernate-core/src/main/java/org/hibernate/type/EnumType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/converter/internal/EnumHelper.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/EnumJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/JdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/internal/NativeEnumDdlTypeImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/mappedSuperclass/EnumeratedWithMappedSuperclassTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/function/array/ArrayAggregateTest.java
Log Message:
-----------
HHH-17884 Respect ordering guarantee of ORDINAL/STRING when using native enums
Commit: d423b52be33004953ae6dd3b597b23ae5db7c098
https://github.com/hibernate/hibernate-orm/commit/d423b52be33004953ae6dd3...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2024-03-28 (Thu, 28 Mar 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/BasicValueBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/process/internal/VersionResolution.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/MetadataBuildingContext.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/cfg/MappingSettings.java
M hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/EnumJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/DelegatingJdbcTypeIndicators.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/JdbcTypeIndicators.java
M hibernate-core/src/main/java/org/hibernate/type/spi/TypeConfiguration.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/converted/enums/EnumTypeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/converted/enums/UnspecifiedEnumTypeTest.java
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/customtype/UnspecifiedEnumTypeTest.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/collection/EnumSet.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/customtype/EnumTypeTest.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockSessionFactory.java
Log Message:
-----------
HHH-17904 Introduce config property to enable native enum type
Commit: fe4a3fbaf3cf41f1f3112849b0f4ba9ce9a72e80
https://github.com/hibernate/hibernate-orm/commit/fe4a3fbaf3cf41f1f311284...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2024-03-28 (Thu, 28 Mar 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
Log Message:
-----------
HHH-17906 Use insert target paths for type inference of SqmValues
Compare: https://github.com/hibernate/hibernate-orm/compare/7e29539153cf...fe4a3fb...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
9 months