我试图了解两种例外之间的区别
1: org.springframework.orm.jpa.JpaSystemException: transaction timeout expired; nested exception is org.hibernate.TransactionException: transaction timeout expired
似乎在超过@Transactional(... timeout = n)值时发生,并且
2: org.springframework.transaction.TransactionTimedOutException: Transaction timed out: deadline was <date>
我重试了一次多次(1)超时的交易,从而引起了这种情况。