We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APIJSON:7.4.0 数据库:达梦DM8 JDK:1.8
你好,请教一下,关于apijson和达梦DM8的整合,目前来看文档没具体介绍到;
方案:是否把isOracle改为true,AbstractSQLConfig.DEFAULT_DATABASE=ORACLE,连接池改一下即可,还有其他注意事项吗?
The text was updated successfully, but these errors were encountered:
参数 { "@Explain": true, "[]": { "join": "&/StationExtension/stationCode@", "Station": { "stationEnabled": 1, "@column": "stationCode,stationName" }, "StationExtension": { "stationCode@": "/Station/stationCode", "@column": "stationCode" } } }
[执行语句1] SELECT * FROM (SELECT "Station".*, ROWNUM "RN" FROM (SELECT "Station"."station_code", "Station"."station_name", "StationExtension"."station_code" FROM "base_station" "Station" INNER JOIN "base_station_extension" "StationExtension" ON "StationExtension"."station_code" = "Station"."station_code" WHERE (("Station"."station_enabled" = 1) AND ("Station"."tenant_id" = 1001) )) "Station" WHERE ROWNUM <= 1000) WHERE "RN" > 0 执行失败,失败原因: [-2112]:第9行附近出现错误: 有歧义的列名[station_code]
Sorry, something went wrong.
应该是 JOIN 后两个 station_code 重名导致报错,可以给副表的 station_code 设置别名试试
No branches or pull requests
Description
APIJSON:7.4.0
数据库:达梦DM8
JDK:1.8
你好,请教一下,关于apijson和达梦DM8的整合,目前来看文档没具体介绍到;
方案:是否把isOracle改为true,AbstractSQLConfig.DEFAULT_DATABASE=ORACLE,连接池改一下即可,还有其他注意事项吗?
The text was updated successfully, but these errors were encountered: