79717301

Date: 2025-07-28 12:22:35
Score: 2
Natty:
Report link

Spring Boot automatically handles the hibernate session for us. We dont need to manually open or close it. When we use spring data JPA methods like save() or findById(), Spring Boot starts the session, begins a transaction, does the operation, commit it, and close the session — all in background. So, we just write the code for what we want, and spring boot takes care of session management part automaticaly.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kiran Kumar Kore