Skip to content
New issue

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

delete 出现别名,SQLStatement toString出现错误 #1725

Closed
wgzh159 opened this issue May 9, 2017 · 3 comments
Closed

delete 出现别名,SQLStatement toString出现错误 #1725

wgzh159 opened this issue May 9, 2017 · 3 comments
Labels
Milestone

Comments

@wgzh159
Copy link
Contributor

wgzh159 commented May 9, 2017

例如:
delete from credit_corp_baseinfo o where o.applyid in(24032,23942,23579,23511,23408,23327,23322,23230,23228,23218);

List sts = SQLUtils.toStatementList(sql, "oracle");
for(SQLStatement st :sts){
System.err.println(st.toString());
}

结果别名出现2次:
DELETE FROM credit_corp_baseinfo o o
WHERE o.applyid IN (24032, 23942, 23579, 23511, 23408, 23327, 23322, 23230, 23228, 23218)

@wgzh159
Copy link
Contributor Author

wgzh159 commented May 9, 2017

数据库类型oracle

@wenshao wenshao added the Bug label May 10, 2017
@wenshao wenshao added this to the 1.0.30 milestone May 10, 2017
@wenshao
Copy link
Member

wenshao commented May 10, 2017

已经修复,将会在这个周末发布

@wenshao
Copy link
Member

wenshao commented May 14, 2017

已经支持,请使用新版本 https://github.com/alibaba/druid/releases/tag/1.0.30

@wenshao wenshao closed this as completed May 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants