【发布时间】:2021-01-06 00:17:02
【问题描述】:
好像spring-data-jdbc和spring-session-redis不能一起工作,至少没有任何额外配置是不行的。
我错过了什么吗?
这是我的错误:
.RepositoryConfigurationExtensionSupport : Spring Data JDBC - Could not safely identify store assignment for repository candidate interface ca.code3.timekeeper.repository.ClientRepository. If you want this repository to be a JDBC repository, consider annotating your entities with one of these annotations: org.springframework.data.relational.core.mapping.Table.
只使用 spring data-jdbc 就像一个魅力。
【问题讨论】:
标签: spring jdbc redis spring-data spring-session