**Problem:** Missing `@Transactional` annotations mean data mutations are non-atomic, relying on the dangerous Open Session In View (OSIV) anti-pattern. **Acceptance Criteria:** - [x] Add `@Transactional` to all write operations in `WorkoutService` and `AuthService`. - [x] Add `spring.jpa.open-in-view=false` to `application.properties`. - [x] Run full integration tests to guarantee no `LazyInitializationException` is thrown.
Problem: Missing
@Transactionalannotations mean data mutations are non-atomic, relying on the dangerous Open Session In View (OSIV) anti-pattern.Acceptance Criteria:
@Transactionalto all write operations inWorkoutServiceandAuthService.spring.jpa.open-in-view=falsetoapplication.properties.LazyInitializationExceptionis thrown.