While reviewing spring data transactions, order and inventory writes separate. Which action best addresses the problem?
Answer options
- A. Move the query into a repository
- B. Wrap the use case in one transaction
- C. Fetch required data before mapping
- D. Use a version field