git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib-couchbase@130588 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
212b3bcdbe
commit
85b0905dec
|
@ -136,8 +136,7 @@ public class PersistenceCouchBase extends PersistenceBackend {
|
|||
|
||||
}
|
||||
|
||||
protected JsonDocument createItem(JsonObject jsonObject, String id,String recordType) throws Exception {
|
||||
logger.debug("insert a new record"+id);
|
||||
protected JsonDocument createItem(JsonObject jsonObject, String id,String recordType) throws Exception {
|
||||
JsonDocument doc = JsonDocument.create(id, jsonObject);
|
||||
return connectionMap.get(recordType).upsert(doc);
|
||||
}
|
||||
|
|
Reference in New Issue