Causes spring boot jpa table is not automatically generated - plus @Entity

Get someone else's project for a long time, turned out to be annotated to forget, of course, still have to configure the profile of jpa, pom have to rely jpa.

@Entity

jpa:
hibernate:
ddl-auto: update
show-sql: true

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>


Guess you like

Origin www.cnblogs.com/MarsMercury/p/11544236.html