MyBatis-Flex v1.4.4 发布,一个优雅的 MyBatis 增强框架
Mybatis-Flex 是一个优雅的 Mybatis 增强框架,它非常轻量、同时拥有极高的性能与灵活性。我们可以轻松的使用 Mybaits-Flex 链接任何数据库,其内置的 QueryWrapper 帮助我们极大的减少了 SQL 编写的工作的同时,减少出错的可能性。
总而言之,Mybatis-Flex 能够极大地提高我们的开发效率和开发体验,让我们有更多的时间专注于自己的事情。
MyBatis-Flex v1.4.4 更新如下:
- 新增:在 SpringBoot 下添加
@UseDataSource
对 IService 和 Controller 支持的功能,感谢 @王帅 - 优化:IService 中的 saveOrUpdate 保存逻辑应该与同类 save 逻辑保持一致; #I7G8MC:com.mybatisflex.core.service.IService 中的 saveOrUpdate 保存逻辑应该与同类 save 逻辑保持一致。
- 优化:为更多的 Java 代码完善代码注释已经添加 package-info.java,感谢 @王帅
- 修复:当使用 ArrayTypeHandler 配置时,出现 NPE 的问题
- 修复:Brackets 的 containsTable 方法验证错误,导致分页时 count 优化不准确的问题,感谢 @王帅
- 文档:优化多数据源的相关文档
进一步了解 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

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。
持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。
转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。
- 上一篇
《灯灯》多租户快速开发平台 4.13.2 发布,专注于多租户解决方案
4.13.2 版本更新详情: 近期在基于 4.13.x 编写全新的文档和录制视频,新功能开发和版本发布速度会延后,4.13.x 系列主要以优化功能和修复 bug 为主。 feat (SuperCacheManagerImpl):增加批量查询缓存方法 findCollectByIds (lamp-database):wraps新增范围拼接参数 by @gavin-james (lamp-system-server):删除初始化租户数据时,SQL脚本中多余的角色数据 (lamp-job-pro):新增none模式的执行器,并集成定时发送消息接口 refactor (lamp-oauth-server):优化URI鉴权接口耗时 (lamp-system-server):优化地区数据拉取,并更新拉取的地址 by @gavin-james (lamp-web-pro):延长代码生成导入表接口的超时时间 fix (lamp-web-pro):消除重复注册vxetable带来的警告 《灯灯》中后台快速开发平台 lamp 项目组成 1) 工具集 ( lamp-util 项目必备,其他 2 个可选...
- 下一篇
sms4j 插件之------邮件插件
sms4j 插件能力之 ----- 邮件发送 除了短信之外,邮件也是项目中经常需要对接的需求,但是各类的厂家或是自建的内部邮件发送各有千秋,并且使用方式也比较繁琐,虽说市面上有不少的封装工具,但是要么过于笨重,要么功能不全。 应广大用户的需求,sms4j 在沿用简单的事情回归简单的本质的思想之上,于 2.2.0版本开始,正式推出了插件能力。第一个插件便是邮件插件。下面我们一起看一下使用方法。 maven引入 他完全独立于sms4j ,因此不需要事先引入sms4j的主程序包 <dependency> <groupId>org.dromara.sms4j</groupId> <artifactId>sms4j-Email-plugin</artifactId> <version> 最新版本跟随sms4j </version> </dependency> 配置 Email-plugin不做特殊适配,不严格要求配置形式,不管你是java se还是springboot 还是...
相关文章
文章评论
共有0条评论来说两句吧...