You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Maxim Solodovnik (Jira)" <ji...@apache.org> on 2026/08/20 08:17:00 UTC

[jira] [Created] (OPENJPA-2996) testNotLoadedLazy duplicates eager check, lazy path untested

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)