[hibernate/hibernate-orm] d1b30e: HHH-15862 Support basic array values in aggregate ...
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: d1b30e1ab89de9c9541526ba0232c63e27642210
https://github.com/hibernate/hibernate-orm/commit/d1b30e1ab89de9c9541526b...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/OracleLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/OracleLegacySqlAstTranslator.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/PostgreSQLLegacyDialect.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AggregateComponentBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AggregateComponentSecondPass.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/ComponentPropertyHolder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EmbeddableBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyInferredData.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyPreloadedData.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/WrappedInferredData.java
M hibernate-core/src/main/java/org/hibernate/boot/model/process/internal/InferredBasicValueResolution.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/ColumnOrderingStrategy.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/ColumnOrderingStrategyLegacy.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/ColumnOrderingStrategyStandard.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/Namespace.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/PropertyData.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractPostgreSQLStructJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2StructJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/JsonHelper.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleArrayJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleArrayJdbcTypeConstructor.java
A hibernate-core/src/main/java/org/hibernate/dialect/OracleBaseStructJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleNestedTableJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleNestedTableJdbcTypeConstructor.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleReflectionStructJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleStructJdbcType.java
A hibernate-core/src/main/java/org/hibernate/dialect/OracleUserDefinedTypeExporter.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLEnumJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLStructCastingJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLStructPGObjectJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/StructHelper.java
M hibernate-core/src/main/java/org/hibernate/dialect/StructJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/aggregate/AggregateSupport.java
M hibernate-core/src/main/java/org/hibernate/dialect/aggregate/AggregateSupportImpl.java
M hibernate-core/src/main/java/org/hibernate/dialect/aggregate/DB2AggregateSupport.java
M hibernate-core/src/main/java/org/hibernate/dialect/aggregate/OracleAggregateSupport.java
M hibernate-core/src/main/java/org/hibernate/dialect/aggregate/PostgreSQLAggregateSupport.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/InverseDistributionFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/array/OracleArrayAggEmulation.java
A hibernate-core/src/main/java/org/hibernate/mapping/AbstractUserDefinedType.java
M hibernate-core/src/main/java/org/hibernate/mapping/AggregateColumn.java
M hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
A hibernate-core/src/main/java/org/hibernate/mapping/UserDefinedArrayType.java
A hibernate-core/src/main/java/org/hibernate/mapping/UserDefinedObjectType.java
M hibernate-core/src/main/java/org/hibernate/mapping/UserDefinedType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/AttributeFactory.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractEmbeddableMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddableMappingTypeImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/procedure/internal/PostgreSQLCallableStatementSupport.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/function/SelfRenderingSqmFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.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/ExpressionReplacementWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/SqlExpressionResolver.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ColumnReference.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/NestedColumnReference.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/EmbeddableFunctionTableReference.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/TableReference.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardUserDefinedTypeExporter.java
M hibernate-core/src/main/java/org/hibernate/type/BasicTypeRegistry.java
M hibernate-core/src/main/java/org/hibernate/type/SqlTypes.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/ValueBinder.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BooleanPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DoublePrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/FloatPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/IntegerPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LongPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ShortPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/spi/EmbeddableAggregateJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/ArrayJdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/BasicBinder.java
A hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/SqlTypedJdbcType.java
A hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/StructJdbcType.java
A hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/internal/DelayedStructJdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/spi/JdbcTypeRegistry.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/internal/ArrayDdlTypeImpl.java
A hibernate-core/src/test/java/org/hibernate/orm/test/component/StructComponentArrayTest.java
R hibernate-core/src/test/java/org/hibernate/orm/test/component/StructComponentCollectionError2Test.java
R hibernate-core/src/test/java/org/hibernate/orm/test/component/StructComponentCollectionError3Test.java
M hibernate-core/src/test/java/org/hibernate/orm/test/component/StructComponentCollectionErrorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/component/StructComponentInstantiatorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/function/array/ArrayAggregateTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/ParameterTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/collections/CollectionTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/EmbeddableAggregate.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/EmbeddableWithArrayAggregate.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/JsonEmbeddableTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/JsonWithArrayEmbeddableTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/NestedJsonEmbeddableTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/NestedStructEmbeddableTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/NestedStructWithArrayEmbeddableTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/OracleNestedTableSettingProvider.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/StructEmbeddableArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/StructEmbeddableTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/StructWithArrayEmbeddableTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/timezones/UTCNormalizedInstantTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/BasicListTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/BasicSortedSetTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/BooleanArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/DateArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/DoubleArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/EnumArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/EnumSetConverterTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/EnumSetTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/FloatArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/IntegerArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/LongArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/OracleArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/OracleNestedTableTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/OracleSqlArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/ShortArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/StringArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/TimeArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/TimestampArrayTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/descriptor/java/JdbcTimeJavaTypeDescriptorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/descriptor/java/LocalTimeJavaTypeDescriptorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/descriptor/java/OffsetTimeJavaTypeDescriptorTest.java
M hibernate-core/src/test/java17/org/hibernate/orm/test/records/RecordStructEmbeddableTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/jdbc/SharedDriverManagerConnectionProviderImpl.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectFeatureChecks.java
M migration-guide.adoc
M release-announcement.adoc
Log Message:
-----------
HHH-15862 Support basic array values in aggregate components
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
6 months, 4 weeks
[hibernate/hibernate-orm] 1c11de: HHH-1152 Discriminator based inheritance for embed...
by Marco Belladelli
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 1c11dea0062b523b5945ccbfd2a373d517de931e
https://github.com/hibernate/hibernate-orm/commit/1c11dea0062b523b5945ccb...
Author: Marco Belladelli <marcobladel(a)gmail.com>
Date: 2024-05-14 (Tue, 14 May 2024)
Changed paths:
A documentation/src/main/asciidoc/userguide/chapters/domain/extras/inheritance/embeddable-inheritance-create-table-example.sql
M documentation/src/main/asciidoc/userguide/chapters/domain/inheritance.adoc
M hibernate-core/src/main/java/org/hibernate/action/internal/AbstractEntityInsertAction.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AggregateComponentSecondPass.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotatedDiscriminatorColumn.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/ComponentPropertyHolder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EmbeddableBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/InFlightMetadataCollector.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractPostgreSQLStructJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/JsonHelper.java
A hibernate-core/src/main/java/org/hibernate/dialect/StructAttributeValues.java
M hibernate-core/src/main/java/org/hibernate/dialect/StructHelper.java
M hibernate-core/src/main/java/org/hibernate/dialect/StructJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/XmlHelper.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSqlAstCreationState.java
M hibernate-core/src/main/java/org/hibernate/mapping/Component.java
R hibernate-core/src/main/java/org/hibernate/metamodel/internal/AbstractEmbeddableRepresentationStrategy.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/AttributeFactory.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorPojoOptimized.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorPojoStandard.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableRepresentationStrategyPojo.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetadataContext.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/DiscriminatorMapping.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableDiscriminatorConverter.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableDiscriminatorMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableMappingType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableValuedModelPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityDiscriminatorMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractDiscriminatorMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractEmbeddableMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AnyDiscriminatorPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CaseStatementDiscriminatorMappingImpl.java
A 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/mapping/internal/ExplicitColumnDiscriminatorMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/IdClassRepresentationStrategy.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/EmbeddableTypeImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/EmbeddedSqmPathSource.java
M hibernate-core/src/main/java/org/hibernate/metamodel/spi/EmbeddableRepresentationStrategy.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/DiscriminatorHelper.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/query/results/DomainResultCreationStateImpl.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/DomainResultCreationState.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/FetchParentAccess.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/EmbeddableInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/AggregateEmbeddableFetchImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/AggregateEmbeddableFetchInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/AggregateEmbeddableResultImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/AggregateEmbeddableResultInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableExpressionResultImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableFetchImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableFetchInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableForeignKeyResultImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableResultImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableResultInitializer.java
M hibernate-core/src/main/java/org/hibernate/type/ComponentType.java
M hibernate-core/src/main/java/org/hibernate/type/UserComponentType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/ArrayJdbcType.java
A hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/embeddable/BasicEmbeddableInheritanceTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/embeddable/ChildOneEmbeddable.java
A hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/embeddable/ChildTwoEmbeddable.java
A 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/EmbeddableInheritance2LCTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/embeddable/EmbeddableInheritanceAssciationsTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/embeddable/EmbeddableInheritanceAttributeOverrideTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/embeddable/JsonAggregateEmbeddableInheritanceTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/embeddable/ParentEmbeddable.java
A hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/embeddable/StructAggregateEmbeddableInheritanceTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/embeddable/SubChildOneEmbeddable.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/attributeInSuper/AbstractWorkOrderId.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/attributeInSuper/WorkOrderComponentId.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metamodel/attributeInSuper/WorkOrderId.java
M release-announcement.adoc
Log Message:
-----------
HHH-1152 Discriminator based inheritance for embeddable types
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
6 months, 4 weeks