Use correct SQL Connection given by Resource Space