@Override
        public String from(Dbms dbms) {
            final StringBuilder result = new StringBuilder()
                .append("jdbc:postgresql://")
                .append(dbms.getIpAddress().orElse(""));

            dbms.getPort().ifPresent(p -> result.append(":").append(p));
            result.append("/").append(dbms.getName());
            result.append("?stringtype=unspecified");  // to allow database JSON types to be written
            return result.toString();
        }
Created by fdirlikl on 11/13/2015.

@author Fatih Dirlikli
@author Per Minborg
@author Emil Forslund
runtime-parent/runtime-connector-parent/postgres/src/main/java/com/speedment/runtime/connector/postgres/internal/PostgresDbmsTypeImpl.java