【发布时间】:2017-06-19 12:08:40
【问题描述】:
我在 Spring Boot 应用程序中使用 couchbase 作为 Spring-data, 我正在保存一个班级,比如说 Employee 其中包含字段 empId、empName、empDesc 等。 我想以特定顺序将此对象保存在沙发库中。 假设我想按顺序将此 json 保存在 couchbase 中
{
"empName": "hello",
"empDesc": "helloDesc",
"empId": "hello11"
}
我怎样才能做到这一点? 任何帮助表示赞赏。
【问题讨论】:
-
为什么?这对我来说听起来像是一个 XY 问题。 meta.stackexchange.com/questions/66377/what-is-the-xy-problem
标签: spring spring-boot spring-data couchbase