-
Bug
-
Resolution: Done
-
Major
-
7.1.0.GA, 7.1.1.GA
-
Release Notes
-
-
-
-
-
-
CR1
-
EAP 7.1.3
An entity is defined with an optional unidirectional OneToOne lazy association making the primary key a derived key. If the associated row (corresponding to the derived primary key value) does not exist, calling the association accessor method results in an exception:
... Unable to find <entity_type_here> with <key_name_here> <value_here>: javax.persistence.EntityNotFoundException: Unable to find <entity_type_here> with <key_name_here> <value_here> at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$JpaEntityNotFoundDelegate.handleEntityNotFound(EntityManagerFactoryBuilderImpl.java:145) at org.hibernate.event.internal.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227) ... at org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor.intercept(LazyAttributeLoadingInterceptor.java:61) at org.hibernate.bytecode.enhance.spi.interceptor.LazyAttributeLoadingInterceptor.readObject(LazyAttributeLoadingInterceptor.java:296) ...
- is incorporated by
-
JBEAP-14459 [GSS](7.1.z) Upgrade Hibernate ORM from 5.1.13 to 5.1.14
- Closed
- is related to
-
JBEAP-15366 (7.1.z) HHH-12958 NotFoundLogicalOneToOneTest fails on Oracle due to identifiers that are too long
- Closed
- incorporates
-
HHH-12226 Loading...
- links to