1.如果事务范围内的代码执行超过 removeAbandonedTimeout 配置的时间 ,会导致事务提交的时候报org.springframework.transaction.TransactionSystemException: Could not commit JDBC transaction; nested exception is java.sql.SQLException: connection holder is null 因为这个Jdbc连接已经被后手了 所以是null
2.如果请求内多个与数据库交互 A交互 超时了,可也能会导致另外一个dao层的请求报空指针,建议非调试的时候关闭removeAbandoned的配置,避免导致出现问题