[ 
https://issues.apache.org/jira/browse/OPENJPA-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18120117#comment-18120117
 ] 

ASF subversion and git services commented on OPENJPA-2989:
----------------------------------------------------------

Commit e034fc1bd4a03c083b07d539ddd6bf0a8aad142f in openjpa's branch 
refs/heads/OPENJPA-2989 from Paulo Cristovão de Araújo Silva Filho
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=e034fc1bd ]

Merge branch 'master' into OPENJPA-2989

> Results always materialized, lazy ResultList behavior lost
> ----------------------------------------------------------
>
>                 Key: OPENJPA-2989
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2989
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: jpa
>    Affects Versions: 4.2.0
>            Reporter: Maxim Solodovnik
>            Priority: Major
>             Fix For: 4.2.0
>
>
> Discussion thread: 
> https://github.com/apache/openjpa/pull/144#discussion_r3683006506
> **(high)** Several assertions here (and in TestQueryTimeout) were inverted 
> from "iterator must be invalid after query/EM close" to "iterator still works 
> because results are now an ArrayList snapshot". Which JPA 3.2 clause requires 
> this? More importantly, does this mean the lazy ResultList 
> (openjpa.FetchBatchSize streaming results) is gone and results are always 
> fully materialized? That would be a significant memory/perf behavior change 
> deserving explicit discussion and release-noting, not just adjusted tests.



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

Reply via email to