I have a simple Spring Boot application that connects to a PostgreSQL database and serves as a JSON service. Somehow the startup has become very slow, see timings 10:37:10 a
For dev environment, use the following property
spring.jpa.hibernate.ddl-auto=none
This would be a bit risky for staging and prod environment.
Contributing application.yml version of property setting.
application.yml
spring: jpa: properties: hibernate: temp: use_jdbc_metadata_defaults: false