I am using Hibernate 5 and PostgreSQL 11. I checked dialects and the latest is PostgreSQL95Dialect.
What should I use with a newer version of the database I have?
I assume that there is no major problem using PostgreSQL95Dialect but it sounds wrong for me, especially database may further upgrade and the closer versions can be updated more seamlessly in the future.
Reason:
The reason, I care about dialects, I want to introduce new type jsonb which is not supported by Hibernate, so I want to be as close to the contemporary version of a DB as possible, dialect-wise as well.