by rlmumford: Added helper method to get the source database connection.