Updated dbAdapter ctor