ecoCode icon indicating copy to clipboard operation
ecoCode copied to clipboard

[CRJVM300] [Java] Data in hibernate must be paginated

Open AntoineMeheut opened this issue 1 year ago • 2 comments

Reduce the amount of data loaded into memory and only load it when requested by the user who wishes to view it.

This rule is intended to help developers avoid loading all the data returned by a query into memory when it is not possible to display all the data to a user. Best practice is to load only the data that can be displayed to the user and to load the rest of the data when the user requests the next page.

AntoineMeheut avatar Apr 06 '23 09:04 AntoineMeheut

Hi @glalloue, @mdubois81,

TO DISCUSS INSIDE CORE-TEAM : to keep ? not in kanban https://github.com/orgs/green-code-initiative/projects/1. Why ?

dedece35 avatar Sep 22 '23 10:09 dedece35

Ok to create a new rule concerning this subject. To create it, the rule needs to fill the description template (seen with David, julien, maxime M.)

glalloue avatar Oct 06 '23 12:10 glalloue