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
This commit is contained in:
Steve Ebersole 2022-02-11 13:26:12 -06:00
parent 6d1a47e598
commit b1e590c3bc
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@
package org.hibernate.annotations;
/**
* Fetch options on associations. Defines more of the "how" of fetching, whereas JPA {@link javax.persistence.FetchType}
* focuses on the "when".
* Defines how the association should be fetched, compared to
* {@link javax.persistence.FetchType} which defines when it should be fetched
*
* @author Emmanuel Bernard
*/