Check if db adapter is set