if there is a set of operations to be performed within a method that belongs to the same transaction, how is the transaction in progress handled when tomcat closes? Will tomcat wait for the transaction to finish? Or does the transaction become incomplete?
production environment, if you want to release the version, tomcat is closed. If there happens to be a user placing an order, how to avoid the failure of the user to place the order?