#数据库配置
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/db_hibernate?characterEncoding=UTF-8&useUnicode=true&serverTimezone=UTC #添加时区后,我的项目才能成功启动
spring.datasource.username=root
spring.datasource.password=root
#spring.jpa.properties.hibernate.hbm2ddl.auto=update
#JPA配置信息
spring.jpa.database=MySQL
spring.jpa.show-sql=true
spring.jpa.generate-ddl=true
spring.jpa.hibernate.ddl-auto=update
spring.jpa.hibernate.naming_strategy=org.hibernate.cfg.ImprovedNamingStrategy