[hibernate/hibernate-orm] 4783ef: HHH-14608 Add test for issue
by Andrea Boriero
Branch: refs/heads/5.3
Home: https://github.com/hibernate/hibernate-orm
Commit: 4783ef11f068563be626e3e24190982e80b089bf
https://github.com/hibernate/hibernate-orm/commit/4783ef11f068563be626e3e...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/jpa/test/ops/MergeJpaComplianceTest.java
Log Message:
-----------
HHH-14608 Add test for issue
(cherry picked from commit 8dcf6f983b18d1f5d6a6cc3d66b0f7cb84d2d935)
Commit: 8c66c83ef0970ddff56c4ad228a511cb51986d24
https://github.com/hibernate/hibernate-orm/commit/8c66c83ef0970ddff56c4ad...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultEvictEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultMergeEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/PersistenceUnitUtilImpl.java
M hibernate-core/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java
M hibernate-core/src/main/java/org/hibernate/proxy/LazyInitializer.java
M hibernate-core/src/main/java/org/hibernate/proxy/map/MapProxy.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/ByteBuddyInterceptor.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/javassist/JavassistLazyInitializer.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
M hibernate-core/src/main/java/org/hibernate/type/EntityType.java
M hibernate-envers/src/main/java/org/hibernate/envers/event/spi/BaseEnversEventListener.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/EntityInstantiator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/SingleIdMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/VirtualEntitySingleIdMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/tools/EntityTools.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/internal/impl/RevisionsOfEntityQuery.java
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/proxy/ProxyIdentifier.java
Log Message:
-----------
HHH-14608 Merge causes StackOverflow when JPA proxy compliance is enabled
(cherry picked from commit 8b02aaf5a8711446457665e96b69161b57026cea)
Compare: https://github.com/hibernate/hibernate-orm/compare/b6ccfa531b56...8c66c83...
3 years, 4 months
[hibernate/hibernate-orm] 761f5a: HHH-14608 Add test for issue
by Andrea Boriero
Branch: refs/heads/5.4
Home: https://github.com/hibernate/hibernate-orm
Commit: 761f5ab8048fadd764209af70d9a1a7cd83ca713
https://github.com/hibernate/hibernate-orm/commit/761f5ab8048fadd764209af...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/jpa/test/ops/MergeJpaComplianceTest.java
Log Message:
-----------
HHH-14608 Add test for issue
(cherry picked from commit 8dcf6f983b18d1f5d6a6cc3d66b0f7cb84d2d935)
Commit: ecd35ded075aa8f38da77217b369e1bbe7861cdc
https://github.com/hibernate/hibernate-orm/commit/ecd35ded075aa8f38da7721...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultEvictEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultMergeEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/PersistenceUnitUtilImpl.java
M hibernate-core/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java
M hibernate-core/src/main/java/org/hibernate/proxy/LazyInitializer.java
M hibernate-core/src/main/java/org/hibernate/proxy/map/MapProxy.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/ByteBuddyInterceptor.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/javassist/JavassistLazyInitializer.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
M hibernate-core/src/main/java/org/hibernate/type/EntityType.java
M hibernate-envers/src/main/java/org/hibernate/envers/event/spi/BaseEnversEventListener.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/EntityInstantiator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/SingleIdMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/VirtualEntitySingleIdMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/tools/EntityTools.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/internal/impl/RevisionsOfEntityQuery.java
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/proxy/ProxyIdentifier.java
Log Message:
-----------
HHH-14608 Merge causes StackOverflow when JPA proxy compliance is enabled
(cherry picked from commit 8b02aaf5a8711446457665e96b69161b57026cea)
Compare: https://github.com/hibernate/hibernate-orm/compare/0c37ab3a1682...ecd35de...
3 years, 4 months
[hibernate/hibernate-orm] 8dcf6f: HHH-14608 Add test for issue
by Andrea Boriero
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 8dcf6f983b18d1f5d6a6cc3d66b0f7cb84d2d935
https://github.com/hibernate/hibernate-orm/commit/8dcf6f983b18d1f5d6a6cc3...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/jpa/test/ops/MergeJpaComplianceTest.java
Log Message:
-----------
HHH-14608 Add test for issue
Commit: 8b02aaf5a8711446457665e96b69161b57026cea
https://github.com/hibernate/hibernate-orm/commit/8b02aaf5a8711446457665e...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/internal/StatefulPersistenceContext.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultEvictEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultMergeEventListener.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/internal/PersistenceUnitUtilImpl.java
M hibernate-core/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java
M hibernate-core/src/main/java/org/hibernate/proxy/LazyInitializer.java
M hibernate-core/src/main/java/org/hibernate/proxy/map/MapProxy.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/bytebuddy/ByteBuddyInterceptor.java
M hibernate-core/src/main/java/org/hibernate/proxy/pojo/javassist/JavassistLazyInitializer.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
M hibernate-core/src/main/java/org/hibernate/type/EntityType.java
M hibernate-envers/src/main/java/org/hibernate/envers/event/spi/BaseEnversEventListener.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/EntityInstantiator.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/SingleIdMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/entities/mapper/id/VirtualEntitySingleIdMapper.java
M hibernate-envers/src/main/java/org/hibernate/envers/internal/tools/EntityTools.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/internal/impl/RevisionsOfEntityQuery.java
M hibernate-envers/src/test/java/org/hibernate/envers/test/integration/proxy/ProxyIdentifier.java
Log Message:
-----------
HHH-14608 Merge causes StackOverflow when JPA proxy compliance is enabled
Compare: https://github.com/hibernate/hibernate-orm/compare/1c16d8da9715...8b02aaf...
3 years, 4 months
[hibernate/hibernate-orm] 92f41e: HHH-12320 HHH-12975 - Added test cases.
by gbadner
Branch: refs/heads/5.3
Home: https://github.com/hibernate/hibernate-orm
Commit: 92f41e41f61cb9f4510f33408737f72e2b75b2a0
https://github.com/hibernate/hibernate-orm/commit/92f41e41f61cb9f4510f334...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/test/constraint/ForeignKeyConstraintMapsIdTest.java
A hibernate-core/src/test/java/org/hibernate/test/constraint/ForeignKeyNoConstraintTest.java
Log Message:
-----------
HHH-12320 HHH-12975 - Added test cases.
(cherry picked from commit 9022085f5c48467089e74f4354ee6716d1616e99)
Commit: d6bc53235ab897cb6132942193727261741dbaa4
https://github.com/hibernate/hibernate-orm/commit/d6bc53235ab897cb6132942...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/OneToOneSecondPass.java
Log Message:
-----------
HHH-12320 HHH-12975 - Make sure foreign key name/mode is set prior to building the constraint.
(cherry picked from commit 41e49725ae8e2dcb1c92c8d94b0fc404a0031b63)
Commit: f21e8c64c30dbdfddc58ec845eb9de7bda68140c
https://github.com/hibernate/hibernate-orm/commit/f21e8c64c30dbdfddc58ec8...
Author: Jan-Willem Gmelig Meyling <jan-willem(a)youngmediaexperts.nl>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/mapping/OneToOne.java
M hibernate-core/src/main/java/org/hibernate/type/OneToOneType.java
M hibernate-core/src/main/java/org/hibernate/type/SpecialOneToOneType.java
M hibernate-core/src/main/java/org/hibernate/type/TypeFactory.java
Log Message:
-----------
HHH-12842 - Pass OneToOne constrained to determine nullability of type
(cherry picked from commit 662f6b2b533e6f3651a7d475859927f2d495e1e8)
Commit: b53ce90255b6e9e9db9c8d2667d2df2a318f5244
https://github.com/hibernate/hibernate-orm/commit/b53ce90255b6e9e9db9c8d2...
Author: Jan-Willem Gmelig Meyling <jan-willem(a)youngmediaexperts.nl>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/test/onetoone/lazy/LazyToOneTest.java
Log Message:
-----------
HHH-12842 - Test that shows @OneToOne will be lazily loaded again
(cherry picked from commit bf6f105c41b08cba73e608abaeccd2a54bab4220)
Commit: 7e73de1cc92dbd8c867e6a9a3712a1c3c57c0c59
https://github.com/hibernate/hibernate-orm/commit/7e73de1cc92dbd8c867e6a9...
Author: Jan-Willem Gmelig Meyling <jan-willem(a)youngmediaexperts.nl>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractPropertyMapping.java
M hibernate-core/src/main/java/org/hibernate/type/EntityType.java
M hibernate-core/src/main/java/org/hibernate/type/ManyToOneType.java
Log Message:
-----------
HHH-12842 : Remove invalid workaround from ea77c1f for isNullable regression from 2bfe300
(cherry picked from commit 8535adc05736e9ae93d818d9aff25bf9255a1bbd)
Commit: f0117e887491c08fdcfc3647eaf0c16da00c15b7
https://github.com/hibernate/hibernate-orm/commit/f0117e887491c08fdcfc364...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/test/notfound/OptionalEagerInEmbeddableNotFoundTest.java
A hibernate-core/src/test/java/org/hibernate/test/notfound/OptionalEagerMappedByNotFoundTest.java
A hibernate-core/src/test/java/org/hibernate/test/notfound/OptionalEagerNotFoundTest.java
A hibernate-core/src/test/java/org/hibernate/test/notfound/OptionalEagerRefNonPKNotFoundTest.java
A hibernate-core/src/test/java/org/hibernate/test/notfound/OptionalLazyNotFoundTest.java
A hibernate-core/src/test/java/org/hibernate/test/notfound/RequiredLazyNotFoundTest.java
A hibernate-core/src/test/java/org/hibernate/test/ops/OneToOneMergeTest.java
Log Message:
-----------
HHH-12436 : Added test cases
(cherry picked from commit 925c7370960780bd7ba57b5e5c65dd84c14e746a)
Commit: b419a0031bb347fe08c87950f3d67d3f37d62734
https://github.com/hibernate/hibernate-orm/commit/b419a0031bb347fe08c8795...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/OneToOneSecondPass.java
Log Message:
-----------
HHH-12436 - Attempted to assign id from null one-to-one property
(cherry picked from commit 3218f6cc7df4f704eef5d70cc3514856e7d6f56d)
Commit: 5a4a796c57b83181c2ff460335021cad99f1b51a
https://github.com/hibernate/hibernate-orm/commit/5a4a796c57b83181c2ff460...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/notfound/OptionalLazyNotFoundTest.java
M hibernate-core/src/test/java/org/hibernate/test/notfound/RequiredLazyNotFoundTest.java
Log Message:
-----------
HHH-12436 : Shorten entity names to fix test failures on Oracle
(cherry picked from commit 563758669a1a54c2f9e845da67b6aaa634ab7654)
Commit: 8b21120e9519a89e7e9a50713ac40f7788036bd4
https://github.com/hibernate/hibernate-orm/commit/8b21120e9519a89e7e9a507...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/test/annotations/onetoone/OptionalOneToOneMapsIdQueryTest.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/onetoone/OptionalOneToOnePKJCQueryTest.java
Log Message:
-----------
HHH-13875 : Added test cases
(cherry picked from commit b060b21851d0330a7d75145b6976d0a9b39c6093)
Commit: b6ccfa531b56dbdf9d3e8ba7a31157fa6db94e3f
https://github.com/hibernate/hibernate-orm/commit/b6ccfa531b56dbdf9d3e8ba...
Author: Gail Badner <gbadner(a)redhat.com>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/DotNode.java
Log Message:
-----------
HHH-13875 : Optional one-to-one does not always join the associated entity table when querying
(cherry picked from commit a7261ad0533f8cc1eabd299a62e5daef8735faae)
Compare: https://github.com/hibernate/hibernate-orm/compare/859ac472639e...b6ccfa5...
3 years, 4 months