我想在findOne方法中添加"Cacheable"注释,并在删除或发生方法时逐出缓存.
我怎样才能做到这一点 ?
spring caching hibernate jpa jdbc
caching ×1
hibernate ×1
jdbc ×1
jpa ×1
spring ×1