fix the jdbc provider function