I\'m working with PostgreSQL and Spring 4 and want my app auto create database when it running.
My Entity Class is:
@Entity @Table(name = \"user\", s
you can have a schema.sql script with "CREATE SCHEMA IF NOT EXISTS x;" with
"CREATE SCHEMA IF NOT EXISTS x;"
spring.jpa.properties.hibernate.hbm2ddl.auto=update
It should work