Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize entity deletion in SimpleJpaRepository.
This change improves the performance of the delete method by first checking if the entity is already managed by the EntityManager. If so, it removes the entity directly without additional database queries. This optimization can reduce unnecessary database lookups in certain scenarios. Closes #3564
- Loading branch information