Expose DB connection errors properly, use delimiter for column names in SQL generator