当使用 PostgreSQL 数据库时,使用 insert on conflict 替代 MySQL 的 replace SQL语句。

This commit is contained in:
Yang Jing
2020-07-05 00:42:55 +08:00
parent 93eca239cb
commit ac86f8aded
12 changed files with 85 additions and 6 deletions

View File

@@ -18,9 +18,6 @@ spring:
main:
allow-bean-definition-overriding: true
profiles:
active: dev
logging:
config: classpath:logback-spring.xml

View File

@@ -22,9 +22,6 @@ spring:
main:
allow-bean-definition-overriding: true
profiles:
active: dev
logging:
config: classpath:logback-spring.xml