Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: f2dbe7a9cbd43c441e41599989cf5c436caef089
https://github.com/hibernate/hibernate-orm/commit/f2dbe7a9cbd43c441e41599...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/Fetch.java
M hibernate-core/src/main/java/org/hibernate/annotations/FetchProfile.java
A hibernate-core/src/main/java/org/hibernate/annotations/Fetches.java
M
hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotationBinder.java
M
hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
A
hibernate-core/src/main/java/org/hibernate/boot/model/internal/FetchOverrideSecondPass.java
A hibernate-core/src/main/java/org/hibernate/boot/model/internal/FetchSecondPass.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/ToOneBinder.java
R
hibernate-core/src/main/java/org/hibernate/boot/model/internal/VerifyFetchProfileReferenceSecondPass.java
A
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/fetchprofile/NewFetchTest.java
Log Message:
-----------
HHH-16666 allow fetch profiles to be defined using the @Fetch annotation
1. You may now declare an empty named @FetchProfile, and
2. add associations to it using @Fetch.
Note that @Fetch becomes a repeatable annotation.
Commit: 36a77785e8b8726a03b5a31823689b16d1dfdc66
https://github.com/hibernate/hibernate-orm/commit/36a77785e8b8726a03b5a31...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/FetchProfile.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/fetchprofile/Customer.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/fetchprofile/Customer2.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/fetchprofile/Customer3.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/fetchprofile/Customer5.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/fetchprofile/Customer6.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/fetchprofile/NewFetchTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/fetchprofile/mappedby/package-info.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/annotations/fetchprofile/package-info.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/fetchprofiles/CollectionLoadedInTwoPhaseLoadTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/fetchprofiles/EntityLoadedInTwoPhaseLoadTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/fetchprofiles/join/selfReferencing/Employee.java
Log Message:
-----------
HHH-16666 give @FetchOverride.mode a default (the only supported value!)
Talk about low-hanging fruit!
Commit: e12b82033e9f2be60711db4d0140bc51aaad4ead
https://github.com/hibernate/hibernate-orm/commit/e12b82033e9f2be60711db4...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M documentation/src/main/asciidoc/introduction/Advanced.adoc
M documentation/src/main/asciidoc/introduction/Tuning.adoc
Log Message:
-----------
HHH-16666 document fetch profiles now they are nicer to use
Compare:
https://github.com/hibernate/hibernate-orm/compare/2daeadd4493b...e12b820...