Hibernate generates invalid DDL (PostgreSQL 9.6)
<p>I'm using Spring Boot JPA with no dialect configured in application.properties.
In my output, I can see that Hibernate is generating the following DDL commands:</p>

<pre><code>create table user 
(
   id int8 not null, 
   password varchar(255), 
   username varchar(255), 
   primary key (id)
)
</code></pre>

<p>Which leads to a syntax error, because the table name must be enclosed within quotation marks.</p>

<p>That's my application.properties:</p>

<pre><code>spring.datasource.url=jdbc:postgresql://localhost:5432/springtest
spring.datasource.username=...
spring.datasource.password=...

spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.show-sql=true
</code></pre>