Closed
Description
question/issue about reading object as JsonObject (instead of empty java.lang.Obect)
From Davide Pellegatta
It’s about object mapping in spring-data-couchbase for very generic objects:
@DaTa
@with
@AllArgsConstructor
@NoArgsConstructor
@document
public class Note {
@id
private String id;
private Map<String, Object> json;
}
basically my customer would like to work with something like this. I don’t think it’s possible to make it work. But I’d like to double check this
I already point them to CouchbaseTemplate for this, but at the same time I’d want to be sure as this with the mongo implementation works just fine.