Maxim Solodovnik created OPENJPA-2989:
-----------------------------------------
Summary: 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
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)