-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
关于 SqlServer2012Dialect 生成的分页 SQL 格式问题 #42
Comments
SqlServer2012RowBoundsDialect.java 应该也有这个情况 |
...
if (page.getStartRow() > 0) {
...
}
... 我觉得应该调整为: ...
if (page.getStartRow() >= 0) {
...
}
... |
abel533
added a commit
that referenced
this issue
Apr 21, 2017
谢谢指出这个错误,已经修复,下个版本会解决。计划在这周一发布。 |
今天发布? |
@AifeiI 已经 发布了,5.0.1 |
@abel533 嗯,问题解决~谢谢 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我遇到当使用 PageHelper.startPage(1, 10); 的方式进行分页查询时,会爆出 :
数据库是 SQL Server 2014,helperDialect 设置为 sqlserver2012
PageHelper自动生成的:
可以正确执行的:
主要是缺少了
OFFSET 0 ROWS
The text was updated successfully, but these errors were encountered: