What is the most suitable hibernate.dialect for postgresql 10.5?

Leon picture Leon · Oct 18, 2018 · Viewed 15.7k times · Source

I am looking at hibernate documentation here: https://docs.jboss.org/hibernate/orm/5.0/javadocs/org/hibernate/dialect/package-summary.html to try to find which hibernate.dialect to use inside persistence.xml

It does not mention a class for Postgres 10.x. Should I use PostgreSQL94Dialect?

Answer

Trynkiewicz Mariusz picture Trynkiewicz Mariusz · Nov 23, 2018

Looking at newest documentation and it's PostgreSQL95Dialect