Branch: refs/heads/5.6
Home:
https://github.com/hibernate/hibernate-orm
Commit: 1f84125e44a0de5c322fa3468d84ddced1351f3c
https://github.com/hibernate/hibernate-orm/commit/1f84125e44a0de5c322fa34...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-02-23 (Wed, 23 Feb 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
M
hibernate-core/src/test/java/org/hibernate/test/annotations/notfound/NotFoundLogicalOneToOneTest.java
Log Message:
-----------
HHH-15060 - Associations with @NotFound should always be left joined when de-referenced
in HQL/Criteria
- `@NotFound` no longer exports a physical foreign-key
Commit: a297a62432b19f174c26fae680f59f0162d9398e
https://github.com/hibernate/hibernate-orm/commit/a297a62432b19f174c26fae...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-02-23 (Wed, 23 Feb 2022)
Changed paths:
A
hibernate-core/src/test/java/org/hibernate/orm/test/notfound/exception/NotFoundExceptionLogicalOneToOneTest.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/notfound/exception/NotFoundExceptionManyToOneTest.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/notfound/ignore/NotFoundIgnoreManyToOneTest.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/notfound/ignore/NotFoundIgnoreOneToOneTest.java
Log Message:
-----------
HHH-15060 - Associations with @NotFound should always be left joined when de-referenced
in HQL/Criteria
- `@NotFound` no longer exports a physical foreign-key
- tests showing bugs and inconsistencies wrt `@NotFound` handling
Commit: 6d1a47e5980b23e8688b7d21a0f7450d7450c2a5
https://github.com/hibernate/hibernate-orm/commit/6d1a47e5980b23e8688b7d2...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-02-23 (Wed, 23 Feb 2022)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/FetchNotFoundException.java
M hibernate-core/src/main/java/org/hibernate/annotations/FetchMode.java
M hibernate-core/src/main/java/org/hibernate/annotations/NotFoundAction.java
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/CollectionSecondPass.java
M hibernate-core/src/main/java/org/hibernate/cfg/OneToOneSecondPass.java
M hibernate-core/src/main/java/org/hibernate/cfg/ToOneFkSecondPass.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/IdBagBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/ListBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/MapBinder.java
M hibernate-core/src/main/java/org/hibernate/mapping/ManyToOne.java
M hibernate-core/src/main/java/org/hibernate/mapping/OneToMany.java
M hibernate-core/src/main/java/org/hibernate/type/ManyToOneType.java
M hibernate-core/src/main/java/org/hibernate/type/TypeFactory.java
M
hibernate-core/src/test/java/org/hibernate/cfg/annotations/CollectionBinderTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/notfound/exception/NotFoundExceptionLogicalOneToOneTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/notfound/exception/NotFoundExceptionManyToOneTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/notfound/ignore/NotFoundIgnoreManyToOneTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/notfound/ignore/NotFoundIgnoreOneToOneTest.java
M
hibernate-core/src/test/java/org/hibernate/test/annotations/formula/JoinFormulaOneToManyNotIgnoreLazyFetchingTest.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/LazyNotFoundOneToOneNonUpdatableNonInsertableTest.java
M
hibernate-core/src/test/java/org/hibernate/test/bytecode/enhancement/lazy/notfound/LazyNotFoundOneToOneTest.java
M
hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/SessionFactoryExtension.java
Log Message:
-----------
HHH-15060 - Associations with @NotFound should always be left joined when de-referenced
in HQL/Criteria
- `@NotFound` no longer exports a physical foreign-key
- tests showing bugs and inconsistencies wrt `@NotFound` handling
- added `FetchNotFoundException`
- force association to EAGER
Commit: b1e590c3bcbb749fdeaab6d1058e3f3f1757303c
https://github.com/hibernate/hibernate-orm/commit/b1e590c3bcbb749fdeaab6d...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-02-23 (Wed, 23 Feb 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/FetchMode.java
Log Message:
-----------
HHH-15060 - Associations with @NotFound should always be left joined when de-referenced
in HQL/Criteria
- `@NotFound` no longer exports a physical foreign-key
- tests showing bugs and inconsistencies wrt `@NotFound` handling
- added `FetchNotFoundException`
- force association to EAGER
Commit: 1097914917f5b943f841af3cf33a145b9ad861f1
https://github.com/hibernate/hibernate-orm/commit/1097914917f5b943f841af3...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2022-02-23 (Wed, 23 Feb 2022)
Changed paths:
A
hibernate-core/src/test/java/org/hibernate/jpa/test/query/TypedQueryResultListTest.java
Log Message:
-----------
HHH-15060 Add test for issue
Commit: c200eaa2b3afe2f73a115836b7f70478b406c0c6
https://github.com/hibernate/hibernate-orm/commit/c200eaa2b3afe2f73a11583...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2022-02-23 (Wed, 23 Feb 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/hql/internal/ast/tree/DotNode.java
Log Message:
-----------
HHH-15060 Associations with @NotFound should always be left joined when de-referenced in
HQL/Criteria
Commit: d530de492b2bc1e423ad88d15f63f1b37a62d6d0
https://github.com/hibernate/hibernate-orm/commit/d530de492b2bc1e423ad88d...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-02-23 (Wed, 23 Feb 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/ManyToOneType.java
M hibernate-core/src/main/java/org/hibernate/type/TypeFactory.java
Log Message:
-----------
HHH-15060 - Associations with @NotFound should always be left joined when de-referenced
in HQL/Criteria
- `@NotFound` no longer exports a physical foreign-key
- tests showing bugs and inconsistencies wrt `@NotFound` handling
- added `FetchNotFoundException`
- consider a to-one nullable if either:
- explicitly marked nullable
- `@NotFound` is specified, whether IGNORE or EXCEPTION
- force association to EAGER
Compare:
https://github.com/hibernate/hibernate-orm/compare/5febc7013442...d530de4...