[
https://issues.apache.org/jira/browse/OPENJPA-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maxim Solodovnik resolved OPENJPA-2996.
---------------------------------------
Assignee: Richard Zowalla
Resolution: Fixed
> 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
> Assignee: Richard Zowalla
> Priority: Major
> 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)