Skip to content

Commit 2164333

Browse files
committed
fix: Missing cache key
1 parent 2cea85e commit 2164333

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/lucasjosino/hawapi/services/base/BaseService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
public interface BaseService<D extends BaseDTO> {
2626

27-
@Cacheable(value = "findAll")
27+
@Cacheable(value = "findAll", key = "{ #root.targetClass, #root.methodName, #p0, #p1 }")
2828
Page<UUID> findAllUUIDs(Map<String, String> filters, Pageable pageable);
2929

3030
@Cacheable(value = "findAll", key = "{ #root.targetClass, #root.methodName, #p0.getPageable() }")

0 commit comments

Comments
 (0)