【问题标题】:SpringBoot CouchbaseTemplate: findbyId is working But findByQuery notSpringBoot CouchbaseTemplate:findbyId 工作但 findByQuery 没有
【发布时间】:2022-01-07 11:51:06
【问题描述】:

谁能帮我理解:

在 Spring Data Couchbase 中:spring-data-couchbase:4.3.0 Couchbase 版本:6.6.2

通过使用 couchbasetemplate

  • findById(Entity.class).one(id) 工作正常,我可以获取 数据
  • findByQuery(Entity.class).all() 返回空数组
  • findByQuery(Entity.class).count() 返回 0

【问题讨论】:

  • 如果你包含一些关于你的平台和你正在使用的CB版本的信息,你可能会得到一个更好的答案......
  • @G.BlakeMeike 信息更新

标签: spring-boot couchbase spring-data-couchbase couchbase-java-api spring-boot-configuration


【解决方案1】:

这在https://github.com/spring-projects/spring-data-couchbase/issues/1321 中有描述,在今天的 4.3.2 版本中已修复。

如果问题依旧,请开新issuehttps://github.com/spring-projects/spring-data-couchbase/issues/new

【讨论】:

    猜你喜欢
    • 2019-04-01
    • 2019-04-30
    • 2018-12-01
    • 2021-12-05
    • 1970-01-01
    • 2021-11-13
    • 1970-01-01
    • 2019-12-29
    • 1970-01-01
    相关资源
    最近更新 更多