Before migrating to Spring boot 3, we were using the PostgreSQL10Dialect in our apps. When migrating to Spring boot 3, I realized that Hibernate 6 no longer includes PostgreSQL10Dialect. I cannot find any mention of this in the Hibernate 6 migration guide.
What are we supposed to switch to? PostgreSQL95Dialect ?
I realized that Hibernate 6 no longer includes
PostgreSQL10Dialect.
So this is actually a mistake, it was supposed to have been left there as a deprecated stub to smooth migration, but it accidentally got deleted. (I will put it back for Hibernate 6.2.)
But anyway, you don't need it. In Hibernate 6:
Dialect is almost always chosen automatically, andPostgreSQLDialect.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With