feat: 添加华为云 GaussDB 数据库分页支持feat: 添加华为云 GaussDB 数据库分页支持#872
Merged
Conversation
- 新增 GaussDBDialect 实现 GaussDB 分页方言 - 新增 GaussDBRowBoundsDialect 实现基于 RowBounds 的分页 - 在 PageAutoDialect 中注册 gaussdb 别名 - GaussDB 使用 LIMIT offset, count 语法 参考 PR #861 Co-authored-by: nieqiurong <nieqiuqiu@gmail.com>
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
添加华为云 GaussDB 数据库的分页支持。
变更内容
GaussDBDialect实现 GaussDB 分页方言GaussDBRowBoundsDialect实现基于 RowBounds 的分页PageAutoDialect中注册gaussdb别名技术实现
GaussDB 使用
LIMIT offset, count语法(类似 MySQL):LIMIT count简化语法LIMIT offset, count参考文档:https://support.huaweicloud.com/centralized-devg-v8-gaussdb/gaussdb-42-1702.html
验证
mvn clean compile)相关 Issue/PR
测试建议
建议在实际 GaussDB 环境中进行集成测试,可参考测试工程:https://github.com/nieqiurong/gaussdb-pagehelper-demo
Co-authored-by: nieqiurong nieqiuqiu@gmail.com- 新增 GaussDBDialect 实现 GaussDB 分页方言
参考 PR #861