We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
建议添加手动指定数据库方言的方法;如PageHelper.setDialect(Dialect.MYSQL) 多数据源场景下,如果有不同版本的sqlserver数据库 该如何配置方言类型
The text was updated successfully, but these errors were encountered:
支持运行时动态指定使用的 dialect 实现,例如 PageHelper.startPage(1, 10).using("oracle");
PageHelper.startPage(1, 10).using("oracle");
或者 PageHelper.startPage(2, 10).using("org.exmaple.CustomDialect");
PageHelper.startPage(2, 10).using("org.exmaple.CustomDialect");
Sorry, something went wrong.
一开始项目没有设置方言,先调用myql查询后,再调用pgsql,其中在调用pgsql之前使用了PageHelper.offsetPage(10, 10).using("postgresql"); 但是最后解析出来的SQL仍然是mysql的,解析出来是 limit 10, 10 而不是 想要的limit 10 offset 10 就会导致报错,
No branches or pull requests
功能建议
建议添加手动指定数据库方言的方法;如PageHelper.setDialect(Dialect.MYSQL)
多数据源场景下,如果有不同版本的sqlserver数据库 该如何配置方言类型
The text was updated successfully, but these errors were encountered: