0

Spring Data Redis support repositories as alternative to redis templates. But everything I found about @Transactional support is about templates, not repositories.

Is there any way to make redis repositories transactional?

I added @EnableTransactionManagement and marked service method with transactional, but get the following exception:

org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.transaction.PlatformTransactionManager' available

VB_
  • 45,112
  • 42
  • 145
  • 293

1 Answers1

-1

Spring Data Redis doesn't support transactions for Repository only for templates.

Diemon
  • 182
  • 1
  • 3