Home > Back-end >  Use jpa the note, for the first time builds springboot jpa experience
Use jpa the note, for the first time builds springboot jpa experience

Time:09-22

1. The mysql connector - Java version need to develop, can appear otherwise version does not match;
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
  • Related