add closeConnection
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/document-store-lib--mongodb@142294 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f550012980
commit
1160a4ad0f
|
@ -91,6 +91,10 @@ public class PersistenceMongoDB extends PersistenceBackend {
|
|||
@Override
|
||||
public void openConnection() throws Exception {}
|
||||
|
||||
@Override
|
||||
protected void closeConnection() throws Exception {}
|
||||
|
||||
|
||||
@Override
|
||||
public void close() throws Exception {
|
||||
mongoClient.close();
|
||||
|
@ -266,6 +270,8 @@ public class PersistenceMongoDB extends PersistenceBackend {
|
|||
Record record = RecordUtility.getRecord(map);
|
||||
return record;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Reference in New Issue