Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: de97e8e1a44a6ec72b724d4737372aac25fe06c4
https://github.com/hibernate/hibernate-orm/commit/de97e8e1a44a6ec72b724d4...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-03-05 (Sat, 05 Mar 2022)
Changed paths:
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
Log Message:
-----------
HHH-15099 - Improve handling of associations marked with @NotFound
- Tests
Commit: d52ebfb41dbeae93a453f9cc8186573feda573d2
https://github.com/hibernate/hibernate-orm/commit/d52ebfb41dbeae93a453f9c...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-03-05 (Sat, 05 Mar 2022)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/domain/associations.adoc
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/cfg/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/OneToOneSecondPass.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/internal/CoreMessageLogger.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/metamodel/mapping/internal/BasicAttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityCollectionPart.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.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/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/package-info.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/AbstractColumnReferenceQualifier.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/ColumnReferenceQualifier.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/DerivedTableReference.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/LazyTableGroup.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/MappedByTableGroup.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/NamedTableReference.java
M
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/UnionTableReference.java
A
hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/UnknownTableReferenceException.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/package-info.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
R
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/EntityLoadingLogger.java
A
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/EntityLoadingLogging.java
M
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/EntityFetchJoinedImpl.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/EntityJoinedFetchInitializer.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntitySelectFetchByUniqueKeyInitializer.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
M hibernate-core/src/main/java/org/hibernate/sql/results/package-info.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/formula/JoinFormulaManyToOneNotIgnoreLazyFetchingTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/formula/JoinFormulaOneToManyNotIgnoreLazyFetchingTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/formula/JoinFormulaOneToOneNotIgnoreLazyFetchingTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/notfound/LazyNotFoundManyToOneNonUpdatableNonInsertableTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/notfound/LazyNotFoundOneToOneNonUpdatableNonInsertableTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/notfound/LazyNotFoundOneToOneTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/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-testing/src/main/java/org/hibernate/testing/orm/junit/SessionFactoryExtension.java
Log Message:
-----------
HHH-15099 - Improve handling of associations marked with @NotFound
- Keep track of NotFoundAction into mapping model
- Fix tests with erroneous assertions about `@NotFound` associations allowed to be lazy
Commit: ceb7df0c510d580ce487b1f05940f6b291848489
https://github.com/hibernate/hibernate-orm/commit/ceb7df0c510d580ce487b1f...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-03-05 (Sat, 05 Mar 2022)
Changed paths:
A
hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/notfound/package-info.java
A hibernate-core/src/test/java/org/hibernate/orm/test/notfound/package-info.java
Log Message:
-----------
HHH-15099 - Improve handling of associations marked with @NotFound
- Javadoc improvements for `@NotFound`-related tests
Commit: c5ac528a243e82daeca3c24278baf3d8a73d639b
https://github.com/hibernate/hibernate-orm/commit/c5ac528a243e82daeca3c24...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-03-05 (Sat, 05 Mar 2022)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/loader/ast/internal/DatabaseSnapshotExecutor.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/AttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityAssociationMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/PluralAttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityCollectionPart.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M
hibernate-core/src/main/java/org/hibernate/sql/exec/internal/JdbcSelectExecutorStandardImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/spi/JdbcSelectExecutor.java
A
hibernate-core/src/main/java/org/hibernate/sql/results/graph/DatabaseSnapshotContributor.java
M
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityDelayedFetchImpl.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/EntityFetchSelectImpl.java
A
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/NotFoundSnapshotAssembler.java
A
hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/NotFoundSnapshotResult.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/notfound/OneToOneNotFoundTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/batchfetch/BatchFetchNotFoundIgnoreDynamicStyleTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/notfound/LazyNotFoundOneToOneTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/LoadANonExistingNotFoundBatchEntityTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/bytecode/enhancement/lazy/proxy/LoadANonExistingNotFoundEntityTest.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/notfound/IsNullAndNotFoundTest.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
Log Message:
-----------
HHH-15099 - Improve handling of associations marked with @NotFound
- database snapshot handling
Commit: ed5831f48221f2ff35eab1e5d4904579a559ba9a
https://github.com/hibernate/hibernate-orm/commit/ed5831f48221f2ff35eab1e...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-03-05 (Sat, 05 Mar 2022)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/notfound/OneToOneNotFoundTest.java
Log Message:
-----------
HHH-15099 - Improve handling of associations marked with @NotFound
- clean-up
Commit: 82feac6bd3abd728825b3f3daf99868976376799
https://github.com/hibernate/hibernate-orm/commit/82feac6bd3abd728825b3f3...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-03-05 (Sat, 05 Mar 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/OneToOneSecondPass.java
M hibernate-core/src/main/java/org/hibernate/cfg/SecondaryTableSecondPass.java
M hibernate-core/src/main/java/org/hibernate/mapping/Join.java
M hibernate-core/src/main/java/org/hibernate/mapping/KeyValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
Log Message:
-----------
HHH-15099 - Improve handling of associations marked with @NotFound
- support for NotFound on logical 1-1 defined on JoinTable
Commit: 71e3b5277a454c33a91507da65e6596000693c5f
https://github.com/hibernate/hibernate-orm/commit/71e3b5277a454c33a91507d...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2022-03-05 (Sat, 05 Mar 2022)
Changed paths:
R
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/notfound/NotFoundLogicalOneToOneTest.java
R
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/notfound/NotFoundOneToOneNonInsertableNonUpdateableTest.java
R
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/notfound/NotFoundTest.java
R
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/notfound/OneToOneNotFoundTest.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/notfound/NotFoundLogicalOneToOneTest.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/notfound/NotFoundOneToOneNonInsertableNonUpdateableTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/notfound/NotFoundTest.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/notfound/OneToOneNotFoundTest.java
Log Message:
-----------
HHH-15099 - Improve handling of associations marked with @NotFound
- test consolidation
Compare:
https://github.com/hibernate/hibernate-orm/compare/bdf8b2fc2e0a...71e3b52...