Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

缓存不生效 #55

Open
liruhui opened this issue Jan 9, 2023 · 0 comments
Open

缓存不生效 #55

liruhui opened this issue Jan 9, 2023 · 0 comments

Comments

@liruhui
Copy link

liruhui commented Jan 9, 2023

 1: findById() 测试有缓存
 2: findAll() 测试没有缓存 
 3: 使用命名方法的方式查询 比如 findBookByBookName() 测试 也无没有缓存 
 4使用@Query注解查询  测试也没有缓存 

是不是一级缓存和二级缓存 只有在findById的情况下 才会生效呢 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant