[hibernate/hibernate-orm] 2e9acf: HHH-18125 Support for `type()` and `treat()` opera...
by Marco Belladelli
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 2e9acf1ded0915c16507a950c916780e4e104427
https://github.com/hibernate/hibernate-orm/commit/2e9acf1ded0915c16507a95...
Author: Marco Belladelli <marcobladel(a)gmail.com>
Date: 2024-05-22 (Wed, 22 May 2024)
Changed paths:
M documentation/src/main/asciidoc/querylanguage/Expressions.adoc
M documentation/src/main/asciidoc/userguide/chapters/domain/inheritance.adoc
M documentation/src/main/asciidoc/userguide/chapters/query/hql/QueryLanguage.adoc
M hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadata.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/MetadataImplementor.java
M hibernate-core/src/main/java/org/hibernate/dialect/StructHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/AttributeFactory.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableRepresentationStrategyPojo.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/DefaultDiscriminatorConverter.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/DiscriminatorConverter.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableDiscriminatorConverter.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/MappedDiscriminatorConverter.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/DiscriminatorTypeImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddableDiscriminatorValueDetailsImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddableMappingTypeImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/EmbeddableDomainType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/EntityDomainType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/JpaMetamodel.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/ManagedDomainType.java
A hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/TreatableDomainType.java
A hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/AbstractDiscriminatorSqmPathSource.java
R hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/DiscriminatorSqmPathSource.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/EmbeddableTypeImpl.java
A hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/EmbeddedDiscriminatorSqmPath.java
A hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/EmbeddedDiscriminatorSqmPathSource.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/EmbeddedSqmPathSource.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/EntityDiscriminatorSqmPath.java
A hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/EntityDiscriminatorSqmPathSource.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/EntityTypeImpl.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/persister/entity/DiscriminatorHelper.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/BasicDotIdentifierConsumer.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/QualifiedJoinPathConsumer.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/SemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmMappingModelHelper.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmTreePrinter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/TypecheckUtil.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/sql/internal/BasicValuedPathInterpretation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/DiscriminatorPathInterpretation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/EmbeddableValuedPathInterpretation.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/AbstractSqmPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmBagJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmEmbeddedValuedSimplePath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmEntityValuedSimplePath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmListJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmMapJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmPluralValuedSimplePath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmSetJoin.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/domain/SqmTreatedBagJoin.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedEmbeddedValuedSimplePath.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedEntityValuedSimplePath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedListJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedMapJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedSetJoin.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedSimplePath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmTreatedSingularJoin.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmLiteralEmbeddableType.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/from/SqmFromClause.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/SqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AggregateFunctionChecker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/ExpressionReplacementWalker.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/EmbeddableTypeLiteral.java
M hibernate-core/src/main/java/org/hibernate/type/ComponentType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/embeddable/ChildOneEmbeddable.java
M hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/embeddable/ChildTwoEmbeddable.java
M hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/embeddable/ElementCollectionEmbeddableInheritanceTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/embeddable/EmbeddableTypeAndTreatTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/embeddable/SimpleEmbeddable.java
M hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/embeddable/SubChildOneEmbeddable.java
M hibernate-core/src/test/java/org/hibernate/orm/test/quarkus/MetadataCopyingTest.java
M migration-guide.adoc
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/validation/MockSessionFactory.java
Log Message:
-----------
HHH-18125 Support for `type()` and `treat()` operators for Embeddables
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
4 months
[hibernate/hibernate-orm] 11d225: HHH-17884 Introduce special SqlTypes constants for...
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 11d22531bb59d176e803a42e2a01d6fae0d1b323
https://github.com/hibernate/hibernate-orm/commit/11d22531bb59d176e803a42...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2024-05-22 (Wed, 22 May 2024)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CockroachLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/H2LegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MySQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/PostgreSQLLegacyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLEnumJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLEnumJdbcType.java
A hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLOrdinalEnumJdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/SqlTypes.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
A hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/EnumJdbcType.java
A hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/OrdinalEnumJdbcType.java
A hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/internal/NamedNativeOrdinalEnumDdlTypeImpl.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/internal/NativeEnumDdlTypeImpl.java
A hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/internal/NativeOrdinalEnumDdlTypeImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/EnumeratedSmokeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/enumerated/ormXml/OrmXmlEnumTypeTest.java
Log Message:
-----------
HHH-17884 Introduce special SqlTypes constants for ordinal based enums
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
4 months