I'm starting a brand new java project, based on
I created a table using usual annotation
the object implements Serializable
but when I start the application, database is not initialized.
I obviously put in the application.properties
spring.jpa.hibernate.ddl-auto=update
Application class is on the same package of the model and to be sure I added @EntityScan with root package name, but nothing happened.
I have not any error message, db connection is correctly established
Any suggestion?
Have you configured the below properties properly? as its maybe create an issue while creating an table.
please check above and I think it will resolved the issue.