我在我的项目中使用CouchbaseRepository,但有时我会使用较低级的couchbase sdk方法来检索JsonDocument。有没有一种方法可以使用spring-data-couchbase将JsonDocument转换为User
这一切都是在private <T> T mapToEntity(String id, Document<String> data, Class<T> entityClass)方法的CouchbaseTemplate内部完成的
但正如你所见,这是私人的,所以我不能自己打电话。
https://stackoverflow.com/questions/47635362
复制相似问题