私信发送成功
检测到您已登录技术前沿网,是否 一键登录码云
Watch Star Fork

abel533 / Mybatis_PageHelperJavaMIT

增加 Phoenix 数据库的简单配置
isea533 提交于   master
commit 1fd06ecba510b2bbe8660cfe2eea6b06ba31e87f
1 parent 27f403e1e9

3 文件发生了变化, 影响行数: +3 -0

  • README.md +1 -0
  • README_zh.md +1 -0
  • src/main/java/com/github/pagehelper/page/PageAutoDialect.java +1 -0
@@ -42,6 +42,7 @@ PageHelper supports the following databases:
10. `H2`
11. `SqlServer2012`
12. `Derby`
+ 13. `Phoenix`
 
## Use [QueryInterceptor spec](https://github.com/pagehelper/Mybatis-PageHelper/blob/master/src/main/java/com/github/pagehelper/QueryInterceptor.java)
 
@@ -39,6 +39,7 @@ GitHub项目:https://github.com/mybatis-book/book
10. `H2`
11. `SqlServer2012`
12. `Derby`
+ 13. `Phoenix`
 
## 使用 [QueryInterceptor 规范](https://github.com/pagehelper/Mybatis-PageHelper/blob/master/src/main/java/com/github/pagehelper/QueryInterceptor.java)
[Executor 拦截器高级教程 - QueryInterceptor 规范](https://github.com/pagehelper/Mybatis-PageHelper/blob/master/wikis/zh/Interceptor.md)
@@ -53,6 +53,7 @@ public class PageAutoDialect {
dialectAliasMap.put("hsqldb", HsqldbDialect.class);
dialectAliasMap.put("h2", HsqldbDialect.class);
dialectAliasMap.put("postgresql", HsqldbDialect.class);
+ dialectAliasMap.put("phoenix", HsqldbDialect.class);
 
dialectAliasMap.put("mysql", MySqlDialect.class);
dialectAliasMap.put("mariadb", MySqlDialect.class);

登录 后才可以发表评论

Float_left Icon_close