端午大更新,MyBatis-Flex v1.4.3 发布

科技资讯 投稿 5200 0 评论

Mybatis-Flex 是一个优雅的 Mybatis 增强框架,它非常轻量、同时拥有极高的性能与灵活性。我们可以轻松的使用 Mybaits-Flex 链接任何数据库,其内置的 QueryWrapper 帮助我们极大的减少了 SQL 编写的工作的同时,减少出错的可能性。

总而言之,Mybatis-Flex 能够极大地提高我们的开发效率和开发体验,让我们有更多的时间专注于自己的事情。

 

MyBatis-Flex v1.4.3 更新如下:

    新增:新增数据源加密内容的解密器配置功能
  • 新增:QueryWrapper 添加 with 的 SQL 构建方法;版本号@王帅
  • 新增:添加 Boolean/Integer/Datetime/TimeStamp 类型的逻辑删除功能,感谢 @王帅
  • 新增:FlexGlobalConfig 支持通过 Spring 的 application.yml 进行配置的功能,感谢 @王帅
  • 新增:动态表名添加对 Spring @configuration 自动配置的支持
  • 新增:多租户 TenantFactory 添加对 Spring @configuration 自动配置的支持
  • 新增:逻辑删除处理器添加对 Spring @configuration 自动配置的支持
  • 优化:APT 功能的配置文件由 mybatis-flex.properties 移动到根目录下的 mybatis-flex.config, !!!破坏性更新
  • 优化:移除部分无用的、注释掉的代码块以及一些未使用的常量等,感谢 @王帅
  • 优化:完善接口、类或方法相关注释,感谢 @王帅
  • 优化:maven 编辑添加 latten-maven-plugin + reversion 机制
  • 优化:代码生成器生成辅助类与 APT 生成的类名保持一致,感谢 @王帅
  • 优化:重构 apt 功能,以及修复可能存在的 NPE 问题,感谢 @王帅
  • 修复:逻辑删除、多租户等子表过滤应该在 join 不应该在 where 的问题,#I7F03L:子表过滤应该在join 不应该在where
  • 修复:禁止全表更新失效的问题,感谢 @王帅
  • 修复:代码生成器生成策略中的 schema 和 tableConfig 中的 schema 冲突问题,感谢 @王帅
  • 文档:使用 Spring Boot 项目构建快速开始示例。
  • 文档:更新 pagehelper 配合 mybatis-flex 使用的相关文档,感谢 @王帅
  • 文档:添加关于 SpringBoot 配置的相关文档,感谢 @王帅
  • 文档:添加关于数据源加密使用的相关文档

 

进一步了解 MyBatis-Flex 框架,请参考一下链接:

    1、快速开始:https://mybatis-flex.com/zh/intro/getting-started.html
  • 2、多表关联查询:https://mybatis-flex.com/zh/base/query.html
  • 3、一对多、多对一:https://mybatis-flex.com/zh/base/field-query.html
  • 4、灵活的 QueryWrapper:https://mybatis-flex.com/zh/base/querywrapper.html
  • 5、逻辑删除:https://mybatis-flex.com/zh/core/logic-delete.html
  • 6、乐观锁:https://mybatis-flex.com/zh/core/version.html
  • 7、数据填充:https://mybatis-flex.com/zh/core/fill.html
  • 6、数据脱敏:https://mybatis-flex.com/zh/core/mask.html
  • 7、SQL 审计:https://mybatis-flex.com/zh/core/audit.html
  • 8、多数据源:https://mybatis-flex.com/zh/core/multi-datasource.htm
  • 9、数据源加密:https://mybatis-flex.com/zh/core/datasource-encryption.html
  • 10、动态表名:https://mybatis-flex.com/zh/core/dynamic-table.html
  • 11、事务管理:https://mybatis-flex.com/zh/core/tx.html
  • 12、数据权限:https://mybatis-flex.com/zh/core/data-permission.html
  • 13、字段权限:https://mybatis-flex.com/zh/core/columns-permission.html
  • 14、字段加密:https://mybatis-flex.com/zh/core/columns-encrypt.html
  • 15、字典回写:https://mybatis-flex.com/zh/core/columns-dict.html
  • 16、枚举属性:https://mybatis-flex.com/zh/core/enum-property.html
  • 17、多租户:https://mybatis-flex.com/zh/core/multi-tenancy.html
  • 18、代码生成器:https://mybatis-flex.com/zh/others/codegen.html
  • 19、QQ交流群:https://mybatis-flex.com/zh/intro/qq-group.html
  • 20、更好用的功能正在路上:https://mybatis-flex.com

 

和其他框架对比请参考:

    1、和 MyBatis-Plus 、Fluent-Mybatis 【功能】方面的对比:https://mybatis-flex.com/zh/intro/comparison.html
  • 2、和 MyBatis-Plus 【性能】方面的对比:https://mybatis-flex.com/zh/intro/benchmark.html

 

BTW:MyBatis-Flex.com 官网正在寻求广告位赞助,有兴趣的同学可以通过这里了解:https://mybatis-flex.com/zh/becoming-a-sponsor.html

编程笔记 » 端午大更新,MyBatis-Flex v1.4.3 发布

赞同 (27) or 分享 (0)
游客 发表我的评论   换个身份
取消评论

表情
(0)个小伙伴在吐槽