merge sql error, dbType oracle, druid-1.1.22

6tqwzwtp  于 2022-10-21  发布在  Oracle
关注(0)|答案(1)|浏览(325)

sql : select model.* from ACT_DE_MODEL_RELATION modelrelation
inner join ACT_DE_MODEL model on modelrelation.model_id = model.id
where modelrelation.parent_model_id = ?
com.alibaba.druid.sql.parser.ParserException: syntax error, expect DIMENSION, actual ON, pos 96, line 2, column 38, token ON
at com.alibaba.druid.sql.parser.SQLParser.acceptIdentifier(SQLParser.java:61)

gajydyqb

gajydyqb1#

change ACT_DE_MODEL alias name “model” to other may be ok

相关问题