Maxim Solodovnik created OPENJPA-2996:
-----------------------------------------

             Summary: testNotLoadedLazy duplicates eager check, lazy path 
untested
                 Key: OPENJPA-2996
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2996
             Project: OpenJPA
          Issue Type: Sub-task
          Components: jpa
    Affects Versions: 4.2.0
            Reporter: Maxim Solodovnik
             Fix For: 4.2.0


Discussion thread: 
https://github.com/apache/openjpa/pull/144#discussion_r3683007607


**(low)** In this rewrite, testNotLoadedLazy still calls 
`verifyIsLoadedEagerState(false)` (duplicate of testNotLoadedEager), so the 
lazy not-loaded path (`verifyIsLoadedLazyState(false)`) remains untested. Also 
createLazyEntity builds a RelEntity that is never persisted, which the new 
testLoadingLazyAttributeByName relies on. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to