Skip to content

Commit 9b55478

Browse files
Isue #27972 last tests fix
1 parent 8b9cb02 commit 9b55478

File tree

1 file changed

+1
-1
lines changed
  • generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/service

1 file changed

+1
-1
lines changed

generators/spring-boot/templates/src/main/java/_package_/_entityPackage_/service/UserService.java.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ public class UserService {
576576
.map(<%= user.adminUserDto %>::new);
577577
}
578578
579-
<%_ if (databaseTypeCouchbase) { _%>
579+
<%_ if (databaseTypeCouchbase && cacheProviderAny) { _%>
580580
@CacheEvict(cacheNames = UserRepository.USERS_BY_LOGIN_CACHE)
581581
<%_ } _%>
582582
<%_ if (reactive) { _%>

0 commit comments

Comments
 (0)