0 votes
in Spring Boot by
In which layer, should the boundary of a transaction start?

1 Answer

0 votes
by (3.6k points)
I would like to recommend managing transactions in the Service layer. Logic for business transactions is in the business/service layer and you would want to enforce transaction management at that level.

So, transaction boundary should be on server/business layer.

Share:- Whatsapp Facebook Facebook

Welcome to Developerhelpway Q&A, where you can ask questions and receive answers from other members of the community.