Put begin transaction/end transaction into contructor/destructor of ObjectDb
diff --git a/src/object-db.h b/src/object-db.h
index 8591096..f60e504 100644
--- a/src/object-db.h
+++ b/src/object-db.h
@@ -47,7 +47,14 @@
 
   static bool
   DoesExist (const boost::filesystem::path &folder, const Ccnx::Name &deviceName, const std::string &hash);
-  
+
+private:
+  void
+  willStartSave ();
+
+  void
+  didStopSave ();
+
 private:
   sqlite3 *m_db;
 };