What is the most suitable hibernate.dialect for postgresql 10.5? [closed]
Asked Answered
C

1

14

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?

Cessation answered 18/10, 2018 at 8:21 Comment(2)
And what do you think of this class that is allegedly for An SQL dialect for Postgres 9.4 and later. ... do you think that covers Postgres 10.x? Is 10.x later than 9.4? Clearly other JPA providers just autodetect the database and dont rely on users to have to set such things ...Rabiah
Hibernate 5.4 has PostgreSQL10DialectLeftward
I
20

Looking at newest documentation and it's PostgreSQL95Dialect

Ilona answered 23/11, 2018 at 15:6 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.