You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "rzo1 (via GitHub)" <gi...@apache.org> on 2026/09/26 17:51:44 UTC
[PR] [OPENJPA-2989] Add a compatibility option to restore lazy query result lists [openjpa]
rzo1 opened a new pull request, #196:
URL: https://github.com/apache/openjpa/pull/196
Since the Jakarta Persistence 3.2 work `Query.getResultList()` copies the kernel `ResultList` into an `ArrayList`, so results are always fully materialized and `openjpa.FetchBatchSize` no longer streams rows to the caller (measured: with a batch size the kernel returns a lazy `WindowResultList` which the copy drains). The eager copy came from TCK compliance work rather than a spec clause we could cite, so it stays the default and the new `MaterializeQueryResultList` compatibility option restores the lazy list. The migration guide now spells out the memory implication and documents the option.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@openjpa.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [OPENJPA-2989] Add a compatibility option to restore lazy query result lists [openjpa]
Posted by "cristof (via GitHub)" <gi...@apache.org>.
cristof merged PR #196:
URL: https://github.com/apache/openjpa/pull/196
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@openjpa.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org