[
https://issues.apache.org/jira/browse/OPENJPA-2996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18116557#comment-18116557
]
ASF subversion and git services commented on OPENJPA-2996:
----------------------------------------------------------
Commit 9659240cc0af3354819a66b092fd848883a45af3 in openjpa's branch
refs/heads/OPENJPA-2977-no-persistence-xml-resource from Paulo Cristovão de
Araújo Silva Filho
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=9659240cc ]
Merge pull request #183 from apache/OPENJPA-2996
[OPENJPA-2996] Exercise the lazy not-loaded path in load state tests
> 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)