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

druid无法解释特殊字符作为变量的问题 #38

Open
wayshall opened this issue Jul 8, 2021 · 0 comments
Open

druid无法解释特殊字符作为变量的问题 #38

wayshall opened this issue Jul 8, 2021 · 0 comments
Labels
Milestone

Comments

@wayshall
Copy link
Owner

wayshall commented Jul 8, 2021

当dbm的sql语句使用特殊字符作为命名参数时,比如:

select * from user u where u.depart_id = :departId and u.name like :request.userName?likeString

使用druid自动生成count sql时,解释request.userName?likeString会出错,因为druid无法解释特殊字符作为变量.

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

1 participant