Accepted answer

i found solution for my question. i have to use ssl connection, so the url is:

<property name="hibernate.connection.url">jdbc:postgresql://xxxx-host-xxxx:5432/xxx-database-xxx?sslfactory=org.postgresql.ssl.nonvalidatingfactory&amp;ssl=true</property>


install heroku toolbelt and then type heroku config. take each part of the database_url in this form: postgres://username:password@host:port/dbname

this works fine with pgadmin and should work with any other postgres-compatible tool. note that heroku often uses non-standard ports.

Related Query

More Query from same tag