What are the types of the transaction management Spring supports?

Technology CommunityCategory: SpringWhat are the types of the transaction management Spring supports?
VietMX Staff asked 3 years ago

Spring supports two types of transaction management:

  • Programmatic transaction management − This means that you have managed the transaction with the help of programming. That gives you extreme flexibility, but it is difficult to maintain.
  • Declarative transaction management − This means you separate transaction management from the business code. You only use annotations or XML based configuration to manage the transactions.