src/main/java/io/opentracing/contrib/jdbc/parser/AbstractURLParser.java
protected String fetchDatabaseNameFromURL(String url) {
    URLLocation hostsLocation = fetchDatabaseNameIndexRange(url);
    return url.substring(hostsLocation.startIndex(), hostsLocation.endIndex());
  }
protected String fetchDatabaseNameFromURL(String url) {
    URLLocation hostsLocation = fetchDatabaseNameIndexRange(url);
    return url.substring(hostsLocation.startIndex(), hostsLocation.endIndex());
  }
Fetch database name from connection url.

@return database name.