FIX: DataObject::db() doesn't respect overloaded db types (fixes #3620)
Merge pull request #3623 from kinglozzer/pulls/dataobject-db-inheritance

FIX: DataObject::db() doesn't respect overloaded db types (fixes #3620)