I am trying to connect to PostgreSQL database which is in remote location using Spring JDBC template. I am getting
org.postgresql.util.PSQLException:
Combined settings
I tried the suggestions given by @craig-ringer
jdbc:postgresql://100.64.35.52":5432/masterdb?ssl=true
and given by @amit
jdbc:postgresql://100.64.35.52":5432/masterdb?sslmode=require
neither worked. But when I combined them to:
jdbc:postgresql://100.64.35.52":5432/masterdb?ssl=true&sslmode=require
It worked.