protected String constructUrlForConnection(String queryString) {
        String baseUrl = getJdbcUrl();

        if ("".equals(queryString)) {
            return baseUrl;
        }

        if (!queryString.startsWith("?")) {
            throw new IllegalArgumentException("The '?' character must be included");
        }

        return baseUrl.contains("?")
            ? baseUrl + QUERY_PARAM_SEPARATOR + queryString.substring(1)
            : baseUrl + queryString;
    }
Template method for constructing the JDBC URL to be used for creating {@link Connection}s.
This should be overridden if the JDBC URL and query string concatenation or URL string
construction needs to be different to normal.

@param queryString query string parameters that should be appended to the JDBC connection URL.
                   The '?' character must be included
@return a full JDBC URL including queryString
modules/jdbc/src/main/java/org/testcontainers/containers/JdbcDatabaseContainer.java