Made database wrapper work for all HDBC compliant back-ends