Do you need distributed transactions to deploy hibernate on multiple web servers to operate the database?
Will there be any problems if I use the traditional stand-alone method to access the database?
How does the industry deal with this problem
Web Server -(Access)-> Database Server:
Distributed transactions are possible only when one web server accesses multiple database servers at the same time;
If multiple web servers access one database server, that is not called a distributed transaction.
Web Server -(Access)-> Database Server:
Distributed transactions are possible only when one web server accesses multiple database servers at the same time;
If multiple web servers access one database server, that is not called a distributed transaction.