Connect postgresql render to hibernate

how can i connect via hibernate to render external postgresql database?

how should i set the application properties?

Hi,

You would take the details from the connection string provided and put them in the settings as you need.

Covered in the docs on connecting to your database

postgres://USER:PASSWORD@HOST:PORT/DATABASE

So to be clear, those details would be split into:

  • User Name = USER
  • Password = PASSWORD
  • Server/Host = HOST
  • Port = PORT (5432, Postgres default)
  • Database name = DATABASE
  • SSL Mode = “require” (if connecting from outside Render, the “External Database URL”)

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.