add null check for jdbc driver name