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

设置SelectLimit限制, 无法处理limit ?, ? 这种格式, 该怎么办 #1899

Closed
GodzillaHua opened this issue Aug 11, 2017 · 3 comments
Labels

Comments

@GodzillaHua
Copy link
Contributor

image

image

Exception in thread "main" java.sql.SQLException: Parameter index out of range (2 > number of parameters, which is 1).
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1075)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:984)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:929)
at com.mysql.jdbc.PreparedStatement.checkBounds(PreparedStatement.java:3711)
at com.mysql.jdbc.PreparedStatement.setInternal(PreparedStatement.java:3695)

@wenshao wenshao added the Bug label Aug 13, 2017
@wenshao
Copy link
Member

wenshao commented Aug 13, 2017

这个 mysql驱动的问题,不过可以在druid层处理掉的

@GodzillaHua
Copy link
Contributor Author

这个会修复吗?

@koushr
Copy link

koushr commented Mar 14, 2018

这个bug还没修复吗?

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

3 participants