[hibernate/hibernate-orm] 0ea110: HHH-14913 - sub-query modifiers are ignored
by Steve Ebersole
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 0ea110aea2a6b3029d6b4183cd6583156fde5cf2
https://github.com/hibernate/hibernate-orm/commit/0ea110aea2a6b3029d6b418...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-11-04 (Thu, 04 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/sqm/NodeBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/SemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmCriteriaNodeBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmTreePrinter.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
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmModifiedSubQueryExpression.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmRestrictedSubQueryExpression.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/AggregateFunctionChecker.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ModifiedSubQueryExpression.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/criteria/SubQueryTests.java
Log Message:
-----------
HHH-14913 - sub-query modifiers are ignored
3 years
[hibernate/hibernate-orm] b70487: Code refactoring
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: b70487546e772a2b4b655219764484741314c38e
https://github.com/hibernate/hibernate-orm/commit/b70487546e772a2b4b65521...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-04 (Thu, 04 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/FetchingScrollableResultsImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CompoundNaturalIdMapping.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/internal/EmbeddableFetchInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableResultInitializer.java
Log Message:
-----------
Code refactoring
3 years
[hibernate/hibernate-orm] 34cdd3: HHH-14905 - Verify that custom JavaType and JdbcTy...
by Steve Ebersole
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 34cdd3077c9a5116a746262411c649700ffc383e
https://github.com/hibernate/hibernate-orm/commit/34cdd3077c9a5116a746262...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-11-04 (Thu, 04 Nov 2021)
Changed paths:
M hibernate-core/hibernate-core.gradle
M hibernate-core/src/main/java/org/hibernate/sql/exec/internal/JdbcSelectExecutorStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/DeferredResultSetAccess.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/FirePoint.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/JtsContributorTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/JtsTypeContributor.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/PointJavaType.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/PointJdbcType.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/infrastructure/CustomConnectionProvider.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/infrastructure/CustomConnectionProviderInitiator.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/infrastructure/CustomJdbcSelectExecutor.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/infrastructure/CustomJdbcServices.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/infrastructure/CustomJdbcServicesInitiator.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/infrastructure/CustomResultSetAccess.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/package-info.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/ServiceRegistry.java
Log Message:
-----------
HHH-14905 - Verify that custom JavaType and JdbcType registration combo works
Commit: 31eb3b82c51e6890cfb6ceec969179ec408ea32c
https://github.com/hibernate/hibernate-orm/commit/31eb3b82c51e6890cfb6cee...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-11-04 (Thu, 04 Nov 2021)
Changed paths:
M hibernate-core/hibernate-core.gradle
M hibernate-core/src/main/java/org/hibernate/boot/model/process/internal/InferredBasicValueResolver.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/internal/JdbcSelectExecutorStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/SerializableJavaTypeDescriptor.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/array/Post.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/array/StringArrayContributorTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/array/StringArrayJavaType.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/array/StringArrayJdbcType.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/array/StringArrayTypeContributor.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/FirePoint.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/JtsContributorTests.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/JtsTypeContributor.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/PointJavaType.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/PointJdbcType.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/infrastructure/CustomConnectionProvider.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/infrastructure/CustomConnectionProviderInitiator.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/infrastructure/CustomJdbcSelectExecutor.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/infrastructure/CustomJdbcServices.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/infrastructure/CustomJdbcServicesInitiator.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/infrastructure/CustomResultSetAccess.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/jts/package-info.java
Log Message:
-----------
HHH-14905 - Verify that custom JavaType and JdbcType registration combo works
Commit: 0b46966096c9064e673702b34bade5dc72754f68
https://github.com/hibernate/hibernate-orm/commit/0b46966096c9064e673702b...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-11-04 (Thu, 04 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/sql/exec/internal/AbstractJdbcParameter.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/contribution/array/StringArrayContributorTests.java
Log Message:
-----------
HHH-14905 - Verify that custom JavaType and JdbcType registration combo works
Compare: https://github.com/hibernate/hibernate-orm/compare/e28d61330ecb...0b46966...
3 years
[hibernate/hibernate-orm] 9d8fbf: Bytecode enhamcement fix unnecessary query for an ...
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 9d8fbfb727c78eccfaf502d45f116dde841d5571
https://github.com/hibernate/hibernate-orm/commit/9d8fbfb727c78eccfaf502d...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-04 (Thu, 04 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityDelayedFetchImpl.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/FetchGraphTest.java
Log Message:
-----------
Bytecode enhamcement fix unnecessary query for an optional OneToOne
Commit: 3dedb223650d7e907cec05d077a1888fb6779e27
https://github.com/hibernate/hibernate-orm/commit/3dedb223650d7e907cec05d...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-04 (Thu, 04 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/internal/FetchingScrollableResultsImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/JdbcValuesResultSetImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/spi/ScrollableResultsConsumer.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/StatelessQueryScrollingTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/AbstractKey.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/FetchGraphTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/GenericKey.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/MoreSpecializedKey.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/ProxyDeletionTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/QueryScrollingWithInheritanceProxyEagerManyToOneTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/QueryScrollingWithInheritanceProxyTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/RoleEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/SpecializedEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/SpecializedKey.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hqlfetchscroll/Child.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hqlfetchscroll/HQLScrollFetchTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hqlfetchscroll/Parent.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hqlfetchscroll/ParentChild.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/hqlfetchscroll/QueryScrollingWithInheritanceTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/stateless/fetching/StatelessSessionFetchingTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/join/HHH3949Test.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/AbstractKey.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/Activity.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/BaseEntity.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/FetchGraphTest.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/GenericKey.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/Instruction.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/MoreSpecializedKey.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/QueryScrollingWithInheritanceProxyEagerManyToOneTest.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/QueryScrollingWithInheritanceProxyTest.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/RoleEntity.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/SpecializedEntity.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/SpecializedKey.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/WebApplication.java
R hibernate-core/src/test/java/org/hibernate/test/hqlfetchscroll/Child.java
R hibernate-core/src/test/java/org/hibernate/test/hqlfetchscroll/HQLScrollFetchTest.java
R hibernate-core/src/test/java/org/hibernate/test/hqlfetchscroll/Parent.java
R hibernate-core/src/test/java/org/hibernate/test/hqlfetchscroll/ParentChild.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/hqlfetchscroll/QueryScrollingWithInheritanceTest.java
Log Message:
-----------
Implement FetchingScrollableResultsImpl
Commit: 696eea9bbeef6b8b78cb0e9de2bb5c1e90541078
https://github.com/hibernate/hibernate-orm/commit/696eea9bbeef6b8b78cb0e9...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-04 (Thu, 04 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityJoinedFetchInitializer.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/FetchGraphTest.java
Log Message:
-----------
Fix lazy loading of lazy basic attributes when an entity is fetched
Commit: 29e22c68ac524376514816a32ee4d99851c3e1cf
https://github.com/hibernate/hibernate-orm/commit/29e22c68ac524376514816a...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-04 (Thu, 04 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/SingleIdEntityLoaderDynamicBatch.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityJoinedFetchInitializer.java
A hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/BatchFetchProxyTest.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/BatchFetchProxyTest.java
Log Message:
-----------
Fix SingleIdEntityLoaderDynamicBatch#load() method
Commit: 9b569932d2006e16be98a1ea1d9ea83d8b8518ea
https://github.com/hibernate/hibernate-orm/commit/9b569932d2006e16be98a1e...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-04 (Thu, 04 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/SingleIdEntityLoaderDynamicBatch.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CompoundNaturalIdMapping.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/EmbeddableFetchInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/internal/EmbeddableResultInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
A hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/BatchEntitySelectFetchInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityFetchSelectImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntitySelectFetchInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/internal/domain/CircularFetchImpl.java
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/A.java
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/B.java
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/BId.java
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/BatchFetchBootstrapTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/BatchFetchNotFoundIgnoreDynamicStyleTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/BatchFetchReferencedColumnNameTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/BatchFetchRefreshTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/BatchFetchTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/BatchLoadableEntity.java
M hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/BatchingEntityLoaderInitializationWithNoLockModeTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/City.java
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/Country.java
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/DynamicBatchFetchTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/DynamicBatchFetchTestCase.java
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/Model.java
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/ProductLine.hbm.xml
A hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/ProductLine.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/A.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/B.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/BId.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/BatchFetchBootstrapTest.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/BatchFetchNotFoundIgnoreDefaultStyleTest.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/BatchFetchNotFoundIgnoreDynamicStyleTest.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/BatchFetchNotFoundIgnorePaddedStyleTest.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/BatchFetchReferencedColumnNameTest.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/BatchFetchRefreshTest.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/BatchFetchTest.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/BatchLoadableEntity.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/City.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/Country.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/DynamicBatchFetchTest.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/Model.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/PaddedBatchFetchTestCase.java
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/ProductLine.hbm.xml
R hibernate-core/src/test/java/org/hibernate/test/batchfetch/ProductLine.java
M hibernate-core/src/test/java/org/hibernate/test/hql/ASTParserLoadingTest.java
M hibernate-core/src/test/java/org/hibernate/test/hql/ScrollableCollectionFetchingTest.java
M hibernate-core/src/test_legacy/org/hibernate/test/hql/EJBQLTest.java
M hibernate-core/src/test_legacy/org/hibernate/test/hql/QueryTranslatorTestCase.java
Log Message:
-----------
Fix DynamicBatch loading
Commit: 0facaf563231987ddb48be11b37d832a6319e66b
https://github.com/hibernate/hibernate-orm/commit/0facaf563231987ddb48be1...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-04 (Thu, 04 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/sqm/InterpretationException.java
A hibernate-core/src/test/java/org/hibernate/orm/test/hql/ScrollableCollectionFetchingTest.java
R hibernate-core/src/test/java/org/hibernate/test/hql/ScrollableCollectionFetchingTest.java
Log Message:
-----------
Re-enable additional scrollable fetch test
Commit: e28d61330ecbf7443a107f869db5fbe9b462e653
https://github.com/hibernate/hibernate-orm/commit/e28d61330ecbf7443a107f8...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-11-04 (Thu, 04 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/DerbyDialect.java
M hibernate-core/src/test/java/org/hibernate/orm/test/hql/ScrollableCollectionFetchingTest.java
Log Message:
-----------
Derby dialect supportsResultSetPositionQueryMethodsOnForwardOnlyCursor should return false
Compare: https://github.com/hibernate/hibernate-orm/compare/47605bf93b96...e28d613...
3 years
[hibernate/hibernate-orm] 4e216a: Test embedded > to-one | embedded
by Fabio Massimo Ercoli
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 4e216a121c21b5aa1fe72e0b09ee45d8e6e3295e
https://github.com/hibernate/hibernate-orm/commit/4e216a121c21b5aa1fe72e0...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2021-11-02 (Tue, 02 Nov 2021)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/embeddable/OrderByEmbeddableToOneTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/embeddable/OrderByEmbeddableX2Test.java
Log Message:
-----------
Test embedded > to-one | embedded
Commit: de0dffe1058358f76942d5631ebae6d9a7ece802
https://github.com/hibernate/hibernate-orm/commit/de0dffe1058358f76942d56...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2021-11-02 (Tue, 02 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/DomainPathContinuation.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/PluralAttributePath.java
Log Message:
-----------
Allow ast navigation embedded > to-one
Commit: fdcb07420f8c292ed49db939d7a977fb54b72eab
https://github.com/hibernate/hibernate-orm/commit/fdcb07420f8c292ed49db93...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2021-11-02 (Tue, 02 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractDomainPath.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/DomainPathContinuation.java
Log Message:
-----------
Defer the extraction of the sub part
When the foreign key is set to the to-one attribute, this is necessary to have an entity identity mapping using the foreign key SQL attributes
Commit: 47605bf93b96c158e88efaf74da34508c6dbbafc
https://github.com/hibernate/hibernate-orm/commit/47605bf93b96c158e88efaf...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2021-11-02 (Tue, 02 Nov 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/DomainPathContinuation.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/FkDomainPathContinuation.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/PluralAttributePath.java
Log Message:
-----------
Navigate all possible targetKeyPropertyNames
Compare: https://github.com/hibernate/hibernate-orm/compare/eef65b5bc2a3...47605bf...
3 years