Added overriding dbname in RefPersistanceCompanion