You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Couchbase does not currently read it as a Map - it would need to assume that an Object is a map like this: (about line 353 in MappingCouchbaseConverter)
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.
The text was updated successfully, but these errors were encountered: