Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRJVM205 - Forcer l'utilisation du FetchType LAZY sur les collections… #155

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kerimboukadida
Copy link

Le FetchType LAZY est une stratégie de récupération de données utilisée dans les relations de type OneToMany ou ManyToMany, où les données associées ne sont chargées qu'au moment où elles sont effectivement utilisées.

Il est recommandé d'utiliser FetchType LAZY pour les collections car cela permet d'améliorer les performances de l'application en évitant de charger des données qui ne seront pas utilisées. Cela peut également éviter des problèmes de mémoire pour les collections contenant un grand nombre d'éléments.

@sonarcloud
Copy link

sonarcloud bot commented Apr 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

92.9% 92.9% Coverage
0.0% 0.0% Duplication

@kerimboukadida
Copy link
Author

on a tester cette règle sur un projet

MicrosoftTeams-image (2)
MicrosoftTeams-image (1)
MicrosoftTeams-image

@MP-Aubay MP-Aubay mentioned this pull request Apr 6, 2023
@wokier
Copy link

wokier commented Apr 6, 2023

Duplicates #125

@wokier
Copy link

wokier commented Apr 6, 2023

Duplicates #122

@MP-Aubay MP-Aubay added 🗃️ rule rule improvment or rule development or bug java 🏆 challenge2023 🏆 Work done during the ecoCode Challenge 2023 labels Apr 7, 2023
@github-actions
Copy link

This PR has been automatically marked as stale because it has no activity for 30 days.
Please add a comment if you want to keep the issue open. Thank you for your contributions!

@github-actions
Copy link

This PR has been automatically marked as stale because it has no activity for 30 days.
Please add a comment if you want to keep the issue open. Thank you for your contributions!

@github-actions github-actions bot added the stale label Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗃️ rule rule improvment or rule development or bug 🏆 challenge2023 🏆 Work done during the ecoCode Challenge 2023 duplicate This issue or pull request already exists java stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants