[hibernate/hibernate-orm] 80b638: Introduce getSingleJdbcMapping() and getJdbcMappin...
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 80b638aecad8228365033623f6182c47559282b2
https://github.com/hibernate/hibernate-orm/commit/80b638aecad822836503362...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2023-01-13 (Fri, 13 Jan 2023)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2LegacySqlAstTranslator.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/HSQLLegacySqlAstTranslator.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/PostgreSQLLegacySqlAstTranslator.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLServerLegacySqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2SqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleStructJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLStructJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/StructHelper.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/AggregateWindowEmulationQueryTransformer.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/AvgFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CastFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CastingConcatFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/ConcatPipeFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CountFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/FormatFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/IntegralTimestampaddFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/LengthFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/ListaggStringAggEmulation.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/PostgreSQLMinMaxFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/PostgreSQLTruncRoundFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/TimestampaddFunction.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/BasicValuedMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/BasicValuedModelPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableValuedModelPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/JdbcMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/JdbcMappingContainer.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/SelectableConsumer.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ValuedModelPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AnyKeyPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicEntityIdentifierMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicValuedCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CompoundNaturalIdMapping.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/EntityRowIdMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/IdClassEmbeddable.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/SimpleForeignKeyDescriptor.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/SimpleNaturalIdMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualIdEmbeddable.java
M hibernate-core/src/main/java/org/hibernate/query/derived/AnonymousTupleEntityValuedModelPart.java
M hibernate-core/src/main/java/org/hibernate/query/derived/AnonymousTupleTableGroupProducer.java
M hibernate-core/src/main/java/org/hibernate/query/results/complete/CompleteResultBuilderBasicValuedStandard.java
M hibernate-core/src/main/java/org/hibernate/query/results/dynamic/DynamicResultBuilderBasicStandard.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/inline/InlineUpdateHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/ArgumentTypesValidator.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/EntityValuedPathInterpretation.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/Any.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CaseSimpleExpression.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/Distinct.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/EntityTypeLiteral.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/Every.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/JdbcLiteral.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/Over.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/SqlTuple.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/predicate/Predicate.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/select/SelectStatement.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/internal/AbstractJdbcParameter.java
M hibernate-core/src/main/java/org/hibernate/type/BasicType.java
M hibernate-core/src/main/java/org/hibernate/type/spi/TypeConfiguration.java
M hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/oracle/OracleSpatialSQLMMFunction.java
Log Message:
-----------
Introduce getSingleJdbcMapping() and getJdbcMapping(int) to improve JdbcMappingContainer accesses
1 year, 11 months
[hibernate/hibernate-orm] cfc7b7: HHH-15604 Test identically-named association in en...
by Andrea Boriero
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: cfc7b7ba6620a1a4c6c7b6067905295c5e59ff85
https://github.com/hibernate/hibernate-orm/commit/cfc7b7ba6620a1a4c6c7b60...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2023-01-12 (Thu, 12 Jan 2023)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/EmbeddableWithToOneAssociation2Test.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/EmbeddableWithToOneAssociation3Test.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/EmbeddableWithToOneAssociation4Test.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/EmbeddableWithToOneAssociationTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/elementcollection/EmbeddableWithToOneAssociationTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/elementcollection/EmbeddedElementCollectionWithIdenticallyNamedAssociationTest.java
Log Message:
-----------
HHH-15604 Test identically-named association in entity root and elementcollection of embeddables
Commit: 00018731f891d25088483ce13790d084465a6899
https://github.com/hibernate/hibernate-orm/commit/00018731f891d25088483ce...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-01-12 (Thu, 12 Jan 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ModelPartContainer.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/SelectablePath.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/spi/DotIdentifierSequence.java
M hibernate-core/src/main/java/org/hibernate/spi/NavigablePath.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/internal/AggregateEmbeddableInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/EntityInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/AbstractBatchEntitySelectFetchInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityDelayedFetchInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntitySelectFetchInitializer.java
Log Message:
-----------
HHH-15604 Identically-named association in entity root and elementcollection of embeddables leads to assertion error
Commit: b774f80ce987296cf79af3efb202acf9983dce59
https://github.com/hibernate/hibernate-orm/commit/b774f80ce987296cf79af3e...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-01-12 (Thu, 12 Jan 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/embeddables/nested/fieldaccess/FieldAccessedNestedEmbeddableMetadataTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/access/NestedEmbeddableDefaultAccessTests.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/entities/components/Component4.java
Log Message:
-----------
HHH-15966 ElementCollection with nested Embeddables fails with ArrayIndexOutOfBoundsException
Commit: 2143ced49ea9a0f9739b36591de8310a9c5e6236
https://github.com/hibernate/hibernate-orm/commit/2143ced49ea9a0f9739b365...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-01-12 (Thu, 12 Jan 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/elementcollection/EmbeddedElementCollectionWithIdenticallyNamedAssociation2Test.java
Log Message:
-----------
HHH-15604 Identically-named association in entity root and elementcollection of embeddables leads to assertion error
Compare: https://github.com/hibernate/hibernate-orm/compare/b5d58e69ae30...2143ced...
1 year, 11 months