connection to db now uses a SProcWrapper