title: What should I use instead of PostgreSQL11Dialect?
body: <p>I am using Hibernate 5 and PostgreSQL 11. I checked <a href="https://docs.jboss.org/hibernate/orm/5.0/javadocs/org/hibernate/dialect/" rel="nofollow noreferrer">dialects</a> and the latest is <code>PostgreSQL95Dialect</code>.</p>
  
  <p>What should I use with a newer version of the database I have?</p>
  
  <p>I assume that there is no major problem using <code>PostgreSQL95Dialect</code> but it sounds wrong for me, especially database may further upgrade and the closer versions can be updated more seamlessly in the future. </p>
  
  <p><em>Reason:</em></p>
  
  <p>The reason, I care about dialects, I want to introduce new type <code>jsonb</code> 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.</p>