Correct return type for getConnection

Use IDatabase
Followup: I70211187c7

Change-Id: If76eb4276d514439a6f88b9cd0fd3fb4caac86e7
Merge "Correct return type for getConnection"