适配 SpringBoot 3,Mybatis-Flex v1.1.4 发布

科技资讯 投稿 5900 0 评论

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

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

Mybatis-Flex 正式支持 SpringBoot v3 版本,当然 v2 也是支持的,更多的示例代码请参考:https://gitee.com/mybatis-flex/mybatis-flex-samples

 

Mybatis-Flex v1.1.2 主要更新如下:

    新增:添加逻辑删除的自定义内容配置功能
  • 新增:Entity 添加枚举属性的支持
  • 新增:BaseMapper 新增 insertOrUpdate( 方法
  • 新增:事务添加 Propagation 参数配置的支持
  • 新增:为 Spring 适配 @Transactional 注解的支持
  • 修复:租户模式下 deleteBatchByIds 报错的问题
  • 修复:ProviderUtil NPE 的问题
  • 修复:APT 和 TableInfo 构建多出静态变量的问题
  • 文档:完善逻辑删除的相关文档
  • 文档:修改 ignoreNulls 描述错误的问题

 

MyBatis-Flex 和其他框架对比请参考:

  • 1、功能方面的对比:https://mybatis-flex.com/zh/comparison.html
  • 2、性能方面的对比:https://mybatis-flex.com/zh/benchmark.html

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

  • 1、快速开始:https://mybatis-flex.com/zh/getting-started.html
  • 2、强大的 QueryWrapper:https://mybatis-flex.com/zh/querywrapper.html
  • 3、逻辑删除:https://mybatis-flex.com/zh/logic_delete.html
  • 4、乐观锁:https://mybatis-flex.com/zh/version.html
  • 5、数据填充:https://mybatis-flex.com/zh/fill.html
  • 6、数据脱敏:https://mybatis-flex.com/zh/mask.html
  • 7、SQL 审计:https://mybatis-flex.com/zh/audit.html
  • 8、多数据源:https://mybatis-flex.com/zh/multi-datasource.html
  • 9、多租户:https://mybatis-flex.com/zh/multi-tenancy.html
  • 10、更好用的功能正在路上:https://mybatis-flex.com

 

 

编程笔记 » 适配 SpringBoot 3,Mybatis-Flex v1.1.4 发布

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

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