While reviewing spring data transactions, serialization triggers a lazy-loading failure. Which action fixes it, and which check proves it worked?
Answer options
- A. Fetch required data before mapping
- B. Verify DTO mapping needs no open session
- C. Use a version field
- D. Move the query into a repository