Home > Back-end >  Mybatis level cache, does change after the update data database, but did not update the cache, still
Mybatis level cache, does change after the update data database, but did not update the cache, still

Time:10-16

Today learning Mybatis level cache, encounter a problem, when I update the data once again take a row is arguably should get the data from the database again, but I'm still here from the cache, strange when the update is successful, the second to get the data is updated, strives for the leaders to solve ah,

After running the results as shown in the figure below:
  • Related