We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d97b09 + 70c588c commit afbbf44Copy full SHA for afbbf44
APIJSON-Java-Server/APIJSONBoot/src/main/java/apijson/demo/DemoSQLConfig.java
@@ -165,7 +165,7 @@ public String getDBUri() {
165
return "jdbc:mysql://localhost:3306?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=UTF-8"; //TODO 改成你自己的,TiDB 可以当成 MySQL 使用,默认端口为 4000
166
}
167
if (isPostgreSQL()) {
168
- return "jdbc:postgresql://localhost:5432/postgres"; //TODO 改成你自己的
+ return "jdbc:postgresql://localhost:5432/postgres?stringtype=unspecified"; //TODO 改成你自己的
169
170
if (isSQLServer()) {
171
return "jdbc:jtds:sqlserver://localhost:1433/pubs;instance=SQLEXPRESS"; //TODO 改成你自己的
0 commit comments