Hello,

@EnableCaching and @EnableTransactionManagement have the same default priority, and when used together, @EnableCaching actually has a higher priority, which leads to network calls to Redis in the transaction, which can lead to long transactions, it even causes the transaction to fail. I think springboot, as an out-of-the-box framework, should take this into account and provide users with a more reasonable default configuration. Or if there are any other considerations, please let me know.

Comment From: immadolf

I'm sorry I made a mistake