changed how to calculate jdbc_url attribute