2. Had better be used first jpa attractive configuration, pay attention to in the paper net annotations off his configuration:
# properties:
# hibernate:
# hbm2ddl:
# auto: create
Notice this line # #, for its own configuration file path
# # the dialect: com. Jpa. Springdatajpa. Config. MysqlConfig
# format_sql: true
CodePudding user response:
The default configuration is not attractive