Changed return type from DatabaseBase to DBConnRef

Change-Id: I70211187c7927a38e039860eb92fedaa917e6fa9
Merge "Changed return type from DatabaseBase to DBConnRef"