[hibernate/hibernate-orm] 611796: HHH-14450 - Drop ability to disable "enhanced prox...
by Christian Beikov
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 611796c0fc413b27f240d83c49925414b1b71fc5
https://github.com/hibernate/hibernate-orm/commit/611796c0fc413b27f240d83...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-02-10 (Wed, 10 Feb 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/interceptor/EnhancementHelper.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/interceptor/LazyAttributesMetadata.java
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLoadEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultMergeEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/loader/Loader.java
M hibernate-core/src/main/java/org/hibernate/mapping/Property.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/tuple/PropertyFactory.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/BytecodeEnhancementMetadataPojoImpl.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/lazytoone/InstrumentedProxyLazyToOneTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/cascade/CascadeDeleteManyToOneTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/cascade/CascadeOnUninitializedTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/BidirectionalLazyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/LazyLoadingTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/NaturalIdInUninitializedAssociationTest.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/QueryScrollingWithInheritanceEagerManyToOneTest.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/QueryScrollingWithInheritanceTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/StatelessQueryScrollingTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/cache/UninitializedAssociationsInCacheTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/group/BidirectionalLazyGroupsTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/group/LazyGroupTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/notfound/LazyNotFoundManyToOneNonUpdatableNonInsertableTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/notfound/LazyNotFoundOneToOneTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/BatchFetchProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/BidirectionalProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/DeepInheritanceProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/DeepInheritanceWithNonEntitiesProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/EntitySharedInCollectionAndToOneTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/FetchGraphTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyCollectionDeletedAllowProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyGroupWithInheritanceAllowProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyGroupWithInheritanceTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyToOnesNoProxyFactoryWithSubclassesStatefulTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyToOnesNoProxyFactoryWithSubclassesStatelessTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyToOnesProxyMergeWithSubclassesTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyToOnesProxyWithSubclassesStatelessTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyToOnesProxyWithSubclassesTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LoadANonExistingEntityTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LoadANonExistingNotFoundBatchEntityTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LoadANonExistingNotFoundEntityTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/MappedSuperclassWithEmbeddableTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/MapsIdProxyBidirectionalTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/MapsIdProxyUnidirectionalTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/MergeDetachedToProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/MergeProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/NaturalIdInUninitializedProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/ProxyDeletionTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/ProxyInitializeAndUpdateInlineDirtyTrackingDynamicUpdateTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/ProxyInitializeAndUpdateInlineDirtyTrackingTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/ProxyInitializeAndUpdateTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/QueryScrollingWithInheritanceProxyEagerManyToOneTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/SetIdentifierOnAEnhancedProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/SharingReferenceTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/SimpleUpdateTestWithLazyLoading.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/SimpleUpdateTestWithLazyLoadingAndInlineDirtyTracking.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/batch/AbstractBatchingTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/inlinedirtychecking/DirtyCheckPrivateUnMappedCollectionTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/inlinedirtychecking/EntityWithMutableAttributesTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/inlinedirtychecking/LoadAndUpdateEntitiesWithCollectionsTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/inlinedirtychecking/ManyToOnePropertyAccessByFieldTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/inlinedirtychecking/ManyToOneWithEmbeddedAndNotOptionalFieldTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/inlinedirtychecking/SimpleDynamicUpdateTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/inlinedirtychecking/dynamicupdate/DynamicUpdateAndCollectionsTest.java
M hibernate-core/src/test/java/org/hibernate/test/cache/EnhancedProxyCacheTest.java
Log Message:
-----------
HHH-14450 - Drop ability to disable "enhanced proxies"
Commit: 8a01b4dab447ce788ba203b6a75f9a0908d3f9f3
https://github.com/hibernate/hibernate-orm/commit/8a01b4dab447ce788ba203b...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-02-11 (Thu, 11 Feb 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/OneToOneSecondPass.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneEagerDerivedIdFetchModeSelectTest.java
Log Message:
-----------
HHH-14390 : StackOverflowError with @Fetch(FetchMode.SELECT) mapped for entity with an ID that is a bidirectional one-to-one eager association
Commit: 27fbacf7d2849ee0707cc04b3ed7a6327fa046eb
https://github.com/hibernate/hibernate-orm/commit/27fbacf7d2849ee0707cc04...
Author: Karel Maesen <karel(a)geovise.com>
Date: 2021-02-11 (Thu, 11 Feb 2021)
Changed paths:
M hibernate-spatial/src/test/java/org/hibernate/spatial/dialect/hana/TestHANASpatialFunctions.java
Log Message:
-----------
HHH-14453 Fix Hana integration test
Commit: 7e2747516ab98a268626009b70c66262e8a284fa
https://github.com/hibernate/hibernate-orm/commit/7e2747516ab98a268626009...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-02-11 (Thu, 11 Feb 2021)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneEagerDerivedIdFetchModeSelectTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneLazyDerivedIdFetchModeSelectTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneWithDerivedIdentityTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/unidirectional/OneToOneEagerDerivedIdFetchModeSelectTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/unidirectional/OneToOneLazyDerivedIdFetchModeSelectTest.java
Log Message:
-----------
HHH-14389 : Add test case that throw IllegalArgumentException using EntityManager#find by ID when ID is a one-to-one association
Commit: 031f12a1ec96ffaa46c9358c720a8dd7e3aa5bc7
https://github.com/hibernate/hibernate-orm/commit/031f12a1ec96ffaa46c9358...
Author: Karel Maesen <karel(a)geovise.com>
Date: 2021-02-12 (Fri, 12 Feb 2021)
Changed paths:
M docker_db.sh
M gradle/databases.gradle
M hibernate-spatial/databases/postgispg96/matrix.gradle
M hibernate-spatial/databases/postgispg96/resources/hibernate.properties
M hibernate-spatial/hibernate-spatial.gradle
M hibernate-spatial/src/test/java/org/hibernate/spatial/testing/DataSourceUtils.java
Log Message:
-----------
HHH-14446 Add integration test profiles for mysql and postgis
Commit: a4676415848abce27ba4524e40a0058e718b5bbc
https://github.com/hibernate/hibernate-orm/commit/a4676415848abce27ba4524...
Author: Karel Maesen <karel(a)geovise.com>
Date: 2021-02-12 (Fri, 12 Feb 2021)
Changed paths:
M hibernate-testing/src/main/java/org/hibernate/testing/cleaner/PostgreSQLDatabaseCleaner.java
Log Message:
-----------
HHH-14446 Fix PostgreSQL create extension syntax
Commit: da8cd19968a7f09e823d6f9d1698e834f6e3b3c2
https://github.com/hibernate/hibernate-orm/commit/da8cd19968a7f09e823d6f9...
Author: Karel Maesen <karel(a)geovise.com>
Date: 2021-02-12 (Fri, 12 Feb 2021)
Changed paths:
M gradle/databases.gradle
Log Message:
-----------
HHH-14446 Add spatial integration test profiles for oracle and ms sqlserver
Commit: 6d97df670771a98e42988788a5d964695ac28948
https://github.com/hibernate/hibernate-orm/commit/6d97df670771a98e4298878...
Author: Karel Maesen <karel(a)geovise.com>
Date: 2021-02-12 (Fri, 12 Feb 2021)
Changed paths:
M docker_db.sh
M gradle/databases.gradle
M hibernate-testing/src/main/java/org/hibernate/testing/cleaner/DB2DatabaseCleaner.java
Log Message:
-----------
HHH-14446 Add spatial integration test profiles for DB2 and HANA
Commit: 0d140cc30c15c2e044b96597f816fa5138520102
https://github.com/hibernate/hibernate-orm/commit/0d140cc30c15c2e044b9659...
Author: Karel Maesen <karel(a)geovise.com>
Date: 2021-02-12 (Fri, 12 Feb 2021)
Changed paths:
M docker_db.sh
Log Message:
-----------
HHH-14446 Add CockroachDB docker setup
Commit: 6cead49fec02761cb616fe8ea20134b90115f8b5
https://github.com/hibernate/hibernate-orm/commit/6cead49fec02761cb616fe8...
Author: Karel Maesen <karel(a)geovise.com>
Date: 2021-02-12 (Fri, 12 Feb 2021)
Changed paths:
M hibernate-testing/src/main/java/org/hibernate/testing/cleaner/PostgreSQLDatabaseCleaner.java
Log Message:
-----------
HHH-14446 Add PostgresqlDatabaseCleaner checks
Since the PostgreSQL JDBC driver is also used for CockroachDB, we need to test explicitly if the database is indeed PostgreSQL.
Commit: 9d211ed6816afd61e3f2820de41a00a41bc063c2
https://github.com/hibernate/hibernate-orm/commit/9d211ed6816afd61e3f2820...
Author: Karel Maesen <karel(a)geovise.com>
Date: 2021-02-12 (Fri, 12 Feb 2021)
Changed paths:
M docker_db.sh
Log Message:
-----------
HHH-14446 Switching to the postgis provided docker
Commit: 42ca47dc4e24ca7e417526a66f25fd88cc4627e9
https://github.com/hibernate/hibernate-orm/commit/42ca47dc4e24ca7e417526a...
Author: Karel Maesen <karel(a)geovise.com>
Date: 2021-02-12 (Fri, 12 Feb 2021)
Changed paths:
M docker_db.sh
Log Message:
-----------
HHH-14446 Fix a tag for Postgis docker image
Commit: 35643c468a7a1b0102ad13116adb47e14671c0ff
https://github.com/hibernate/hibernate-orm/commit/35643c468a7a1b0102ad131...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-02-12 (Fri, 12 Feb 2021)
Changed paths:
M docker_db.sh
M gradle/databases.gradle
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/interceptor/EnhancementHelper.java
M hibernate-core/src/main/java/org/hibernate/bytecode/enhance/spi/interceptor/LazyAttributesMetadata.java
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/cfg/OneToOneSecondPass.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLoadEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultMergeEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/StatelessSessionImpl.java
M hibernate-core/src/main/java/org/hibernate/mapping/Property.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/tuple/PropertyFactory.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/BytecodeEnhancementMetadataPojoImpl.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneEagerDerivedIdFetchModeSelectTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneLazyDerivedIdFetchModeSelectTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneWithDerivedIdentityTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/unidirectional/OneToOneEagerDerivedIdFetchModeSelectTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/unidirectional/OneToOneLazyDerivedIdFetchModeSelectTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/cascade/CascadeDeleteManyToOneTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/cascade/CascadeOnUninitializedTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/BidirectionalLazyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/LazyLoadingTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/NaturalIdInUninitializedAssociationTest.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/QueryScrollingWithInheritanceEagerManyToOneTest.java
R hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/QueryScrollingWithInheritanceTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/StatelessQueryScrollingTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/cache/UninitializedAssociationsInCacheTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/group/BidirectionalLazyGroupsTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/group/LazyGroupTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/notfound/LazyNotFoundManyToOneNonUpdatableNonInsertableTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/notfound/LazyNotFoundOneToOneTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/BatchFetchProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/BidirectionalProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/DeepInheritanceProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/DeepInheritanceWithNonEntitiesProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/EntitySharedInCollectionAndToOneTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/FetchGraphTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyCollectionDeletedAllowProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyGroupWithInheritanceAllowProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyGroupWithInheritanceTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyToOnesNoProxyFactoryWithSubclassesStatefulTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyToOnesNoProxyFactoryWithSubclassesStatelessTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyToOnesProxyMergeWithSubclassesTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyToOnesProxyWithSubclassesStatelessTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LazyToOnesProxyWithSubclassesTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LoadANonExistingEntityTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LoadANonExistingNotFoundBatchEntityTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/LoadANonExistingNotFoundEntityTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/MappedSuperclassWithEmbeddableTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/MapsIdProxyBidirectionalTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/MapsIdProxyUnidirectionalTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/MergeDetachedToProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/MergeProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/NaturalIdInUninitializedProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/ProxyDeletionTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/ProxyInitializeAndUpdateInlineDirtyTrackingDynamicUpdateTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/ProxyInitializeAndUpdateInlineDirtyTrackingTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/ProxyInitializeAndUpdateTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/QueryScrollingWithInheritanceProxyEagerManyToOneTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/SetIdentifierOnAEnhancedProxyTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/SharingReferenceTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/SimpleUpdateTestWithLazyLoading.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/SimpleUpdateTestWithLazyLoadingAndInlineDirtyTracking.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/batch/AbstractBatchingTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/inlinedirtychecking/DirtyCheckPrivateUnMappedCollectionTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/inlinedirtychecking/EntityWithMutableAttributesTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/inlinedirtychecking/LoadAndUpdateEntitiesWithCollectionsTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/inlinedirtychecking/ManyToOnePropertyAccessByFieldTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/inlinedirtychecking/ManyToOneWithEmbeddedAndNotOptionalFieldTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/inlinedirtychecking/SimpleDynamicUpdateTest.java
M hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/proxy/inlinedirtychecking/dynamicupdate/DynamicUpdateAndCollectionsTest.java
M hibernate-core/src/test/java/org/hibernate/test/cache/EnhancedProxyCacheTest.java
M hibernate-core/src/test/java/org/hibernate/test/mapping/lazytoone/InstrumentedProxyLazyToOneTest.java
M hibernate-spatial/databases/postgispg96/matrix.gradle
M hibernate-spatial/databases/postgispg96/resources/hibernate.properties
M hibernate-spatial/hibernate-spatial.gradle
M hibernate-spatial/src/test/java/org/hibernate/spatial/dialect/hana/TestHANASpatialFunctions.java
M hibernate-spatial/src/test/java/org/hibernate/spatial/testing/DataSourceUtils.java
M hibernate-testing/src/main/java/org/hibernate/testing/cleaner/DB2DatabaseCleaner.java
M hibernate-testing/src/main/java/org/hibernate/testing/cleaner/PostgreSQLDatabaseCleaner.java
Log Message:
-----------
Merge remote-tracking branch 'upstream/master' into wip/6.0
Compare: https://github.com/hibernate/hibernate-orm/compare/9f096e89ec6c...35643c4...
3 years, 9 months
[hibernate/hibernate-orm] 9f096e: Repurpose DefaultSizeStrategy to SizeStrategy for ...
by Christian Beikov
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 9f096e89ec6c5438d23e15dd5f4bd844ade4f922
https://github.com/hibernate/hibernate-orm/commit/9f096e89ec6c5438d23e15d...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2021-02-12 (Fri, 12 Feb 2021)
Changed paths:
M docker_db.sh
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/process/internal/InferredBasicValueResolver.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/RelationalObjectBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/cfg/Ejb3Column.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
A hibernate-core/src/main/java/org/hibernate/dialect/BooleanDecoder.java
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CacheDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/FirebirdDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/InformixDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MimerSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASEDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CastFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/DB2FormatEmulation.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/IndividualLeastGreatestEmulation.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/InsertSubstringOverlayEmulation.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/QuantifiedLeastGreatestEmulation.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/SQLServerFormatFunction.java
M hibernate-core/src/main/java/org/hibernate/mapping/Column.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/JdbcMapping.java
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/ColumnReference.java
M hibernate-core/src/main/java/org/hibernate/query/CastType.java
R hibernate-core/src/main/java/org/hibernate/query/CastTypeKind.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/ConcreteSqmSelectQueryPlan.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SimpleDeleteQueryPlan.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SimpleInsertQueryPlan.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SimpleUpdateQueryPlan.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmUtil.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/MultiTableSqmMutationConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/CteStrategy.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/IdTableHelper.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/RestrictedDeleteExecutionDelegate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/TableBasedUpdateHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/UpdateExecutionDelegate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/spi/JdbcParameterBySqmParameterAccess.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/SqmTranslation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/StandardSqmTranslation.java
M hibernate-core/src/main/java/org/hibernate/sql/Template.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/SqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstWalker.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/spi/SqlSelectAstWalker.java
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
M hibernate-core/src/main/java/org/hibernate/type/NumericBooleanType.java
M hibernate-core/src/main/java/org/hibernate/type/OffsetDateTimeType.java
M hibernate-core/src/main/java/org/hibernate/type/TrueFalseType.java
M hibernate-core/src/main/java/org/hibernate/type/YesNoType.java
M hibernate-core/src/main/java/org/hibernate/type/ZonedDateTimeType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/SqlTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/VarbinaryTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/internal/StandardBasicTypeImpl.java
M hibernate-core/src/main/java/org/hibernate/type/spi/TypeConfiguration.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/collectionelement/EmbeddableElementCollectionMemberOfTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/columntransformer/ColumnTransformerTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/SequenceValueExtractor.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/hhh12973/SequenceMismatchStrategyFixWithSequenceGeneratorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/hhh12973/SequenceMismatchStrategyLogTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/hhh12973/SequenceMismatchStrategyWithoutSequenceGeneratorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/inheritance/User.java
M hibernate-core/src/test/java/org/hibernate/orm/test/metamodel/mapping/collections/SortNaturalByDefaultTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/onetomany/OneToManySelfReferenceTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/StandardFunctionTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sql/NativeQueryParameterTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sql/NativeQueryResultBuilderTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/set/SetOperationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/ast/SmokeTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/exec/manytoone/EntityWithLazyManyToOneSelfReferenceTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/exec/manytoone/EntityWithManyToOneSelfReferenceTest.java
A hibernate-testing/src/main/java/org/hibernate/testing/junit5/DialectContext.java
M hibernate-testing/src/main/java/org/hibernate/testing/junit5/DialectFilterExtension.java
M hibernate-testing/src/main/java/org/hibernate/testing/junit5/EntityManagerFactoryAccess.java
M hibernate-testing/src/main/java/org/hibernate/testing/junit5/SessionFactoryAccess.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/domain/gambit/EntityOfBasics.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/domain/gambit/Shirt.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectFeatureChecks.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectFilterExtension.java
Log Message:
-----------
Repurpose DefaultSizeStrategy to SizeStrategy for resolving final size. Fix boolean encoding/decoding issues. Remove duplicate order bys. Fix set operation nesting. Fix lots of tests for SQLServer, MariaDB, Derby and Oracle
3 years, 9 months
[hibernate/hibernate-orm] 19df09: HHH-14389 : Added test case. OneToOneWithDerivedId...
by gbadner
Branch: refs/heads/5.4
Home: https://github.com/hibernate/hibernate-orm
Commit: 19df09056d50212f406441f161d6635209c637b5
https://github.com/hibernate/hibernate-orm/commit/19df09056d50212f406441f...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-02-11 (Thu, 11 Feb 2021)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneWithDerivedIdentityTest.java
Log Message:
-----------
HHH-14389 : Added test case. OneToOneWithDerivedIdentityTest#testFindById reproduces the bug and is annotated with @FailureExpected
(cherry picked from commit 30fcb05795d5cea50a8c0807970f4dd41350e844)
Commit: f451ed46d9d2856f9dab6a4ebb985a4d3ea8fee5
https://github.com/hibernate/hibernate-orm/commit/f451ed46d9d2856f9dab6a4...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-02-11 (Thu, 11 Feb 2021)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneEagerDerivedIdFetchModeSelectTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneLazyDerivedIdFetchModeSelectTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneWithDerivedIdentityTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/unidirectional/OneToOneEagerDerivedIdFetchModeSelectTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/unidirectional/OneToOneLazyDerivedIdFetchModeSelectTest.java
Log Message:
-----------
HHH-14389 : Add test case that throw IllegalArgumentException using EntityManager#find by ID when ID is a one-to-one association
(cherry picked from commit 7e2747516ab98a268626009b70c66262e8a284fa)
Compare: https://github.com/hibernate/hibernate-orm/compare/0d1d2af85171...f451ed4...
3 years, 9 months
[hibernate/hibernate-orm] 7e2747: HHH-14389 : Add test case that throw IllegalArgume...
by gbadner
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: 7e2747516ab98a268626009b70c66262e8a284fa
https://github.com/hibernate/hibernate-orm/commit/7e2747516ab98a268626009...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-02-11 (Thu, 11 Feb 2021)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneEagerDerivedIdFetchModeSelectTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneLazyDerivedIdFetchModeSelectTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneWithDerivedIdentityTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/unidirectional/OneToOneEagerDerivedIdFetchModeSelectTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/unidirectional/OneToOneLazyDerivedIdFetchModeSelectTest.java
Log Message:
-----------
HHH-14389 : Add test case that throw IllegalArgumentException using EntityManager#find by ID when ID is a one-to-one association
3 years, 9 months
[hibernate/hibernate-orm] a2fff3: HHH-11903 : @OneToOne Derived ID is null when retu...
by gbadner
Branch: refs/heads/5.4
Home: https://github.com/hibernate/hibernate-orm
Commit: a2fff334a7e52aa9b06f734ed750efe8ae83c3c1
https://github.com/hibernate/hibernate-orm/commit/a2fff334a7e52aa9b06f734...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-02-11 (Thu, 11 Feb 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/OneToOneSecondPass.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneWithDerivedIdentityTest.java
Log Message:
-----------
HHH-11903 : @OneToOne Derived ID is null when returned by query when bidirectional
(cherry picked from commit 4741fa4f33b6a8c5dba17b4c310fec7b4c2aac8c)
Commit: 403f96555afb4b64780c264a9df30e17bcdd6d6e
https://github.com/hibernate/hibernate-orm/commit/403f96555afb4b64780c264...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-02-11 (Thu, 11 Feb 2021)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneEagerDerivedIdFetchModeSelectTest.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneLazyDerivedIdFetchModeSelectTest.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/unidirectional/OneToOneEagerDerivedIdFetchModeSelectTest.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/unidirectional/OneToOneLazyDerivedIdFetchModeSelectTest.java
Log Message:
-----------
HHH-14390 : Added test cases
(cherry picked from commit b40d1251e385a5fdb018f9583a83c472d6da4e8f)
Commit: 0d1d2af851711f901b0624ea997db934890c201d
https://github.com/hibernate/hibernate-orm/commit/0d1d2af851711f901b0624e...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-02-11 (Thu, 11 Feb 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/OneToOneSecondPass.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/derivedidentities/bidirectional/OneToOneEagerDerivedIdFetchModeSelectTest.java
Log Message:
-----------
HHH-14390 : StackOverflowError with @Fetch(FetchMode.SELECT) mapped for entity with an ID that is a bidirectional one-to-one eager association
(cherry picked from commit 8a01b4dab447ce788ba203b6a75f9a0908d3f9f3)
Compare: https://github.com/hibernate/hibernate-orm/compare/7ccbe09d8977...0d1d2af...
3 years, 9 months