updated jdbc repository creation