MyBatis-Flex v1.4.5 发布,一个优雅的 MyBatis 增强框架
Mybatis-Flex 是一个优雅的 Mybatis 增强框架,它非常轻量、同时拥有极高的性能与灵活性。我们可以轻松的使用 Mybaits-Flex 链接任何数据库,其内置的 QueryWrapper 帮助我们极大的减少了 SQL 编写的工作的同时,减少出错的可能性。
总而言之,Mybatis-Flex 能够极大地提高我们的开发效率和开发体验,让我们有更多的时间专注于自己的事情。
MyBatis-Flex v1.4.5 更新如下:
- 新增:添加 sql "CONCAT" 函数的使用支持,感谢 @王帅
- 新增:添加 BaseMapper.selectObjectByQueryAs 方法,感谢 @王帅
- 新增:添加 @ColumnAlias 注解,并解决在 join query 下可能出现的错误赋值的问题,感谢 @王帅
- 新增:添加 MybatisFlexAdminAutoConfiguration 对自动进行 SQL 审计发送的支持,感谢 @王帅
- 优化:BaseMapper.selectOne 添加对 map、condition 等自动添加 limit 1 的支持
- 优化:重构 FunctionQueryColumn 已适配更多的函数,感谢 @王帅
- 优化:在某些情况下,执行 SQL 出错没有抛出原生错误的问题
- 优化:移动 DefaultMessageFactory.getHostIp 到 HttpUtil,感谢 @王帅
- 优化:重构 APT 的配置名称。 !!! 破坏性更新
- 文档:优化由于版本造成的一些错误文档
- 文档:添加列计算的使用文档和示例
- 文档:修改某些细节错别字
APT 配置名称修改如下:
- processor.allInTables ---> processor.allInTables.enable
- processor.tablesPackage ---> processor.allInTables.package
- processor.tablesClassName ----> processor.allInTables.className
- processor.mappersGenerateEnable ----> processor.mapper.generateEnable
- processor.baseMapperClass ---> processor.mapper.baseClass
- processor.mappersPackage ---> processor.mapper.package
- processor.tablesNameStyle ---> processor.tableDef.propertiesNameStyle
- processor.tablesDefSuffix ---> processor.tableDef.instanceSuffix
- processor.entity.ignoreSuffixes ---> processor.tableDef.ignoreEntitySuffixes
进一步了解 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业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。
转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。
-
上一篇
gofs v0.7.1 已经发布,基于 Go 的跨平台实时文件同步工具
Fixed 修复中继文档中的示例 修复停止grpc客户端导致panic的问题 修复同步文件到服务端场景的测试用例 Enhancements 新增dry_run命令行参数来支持启动gofs但是不真正执行同步操作 新增一些MinIO的集成测试 更新gofs程序的描述信息 在parseRedisConnection函数中返回int类型的db字段 在Loader接口中新增一些保存函数 更新构建脚本,在构建之前先切换到main分支 更新依赖包,github.com/gin-gonic/gin v1.9.0 => v1.9.1 更新依赖包,github.com/quic-go/quic-go v0.34.0 => v0.36.0 更新依赖包,github.com/minio/minio-go/v7 v7.0.55 => v7.0.58 更新依赖包,google.golang.org/grpc v1.55.0 => v1.56.0 更新依赖包,github.com/no-src/log v0.1.10 => v0.2.3 更新依赖包,github.com/no-src/...
-
下一篇
Layui 2.8.9 发布
更新日志 form 新增 input 数字输入框组件,通过动态点缀 lay-affix="number" 属性开启 优化 input,textarea 禁用状态时的样式 # I7GN5Z table 优化 点击单元格出现编辑框时,不触发行事件 treeTable 修复 选中和取消选中时,父节点和子节点的选中背景色未能正确同步的问题 # I7FUD6 upload 新增 text 属性,用于自定义内部各类场景下的提示文本 util 重构 countdown 倒计时组件,采用 options 参数写法,但仍对旧版兼容 新增 countdown 的 date,now,clock,done 等属性 新增 countdown 的 clear,reload 等实例方法,用于清除和重置倒计时等操作 相关导读 文档预览:https://layui.dev 仓库地址:https://gitee.com/layui/layui
相关文章
文章评论
共有0条评论来说两句吧...
文章二维码
点击排行
推荐阅读
最新文章
- SpringBoot2整合Thymeleaf,官方推荐html解决方案
- SpringBoot2整合MyBatis,连接MySql数据库做增删改查操作
- CentOS7设置SWAP分区,小内存服务器的救世主
- CentOS8,CentOS7,CentOS6编译安装Redis5.0.7
- CentOS7编译安装Cmake3.16.3,解决mysql等软件编译问题
- Docker使用Oracle官方镜像安装(12C,18C,19C)
- MySQL数据库在高并发下的优化方案
- Hadoop3单机部署,实现最简伪集群
- Windows10,CentOS7,CentOS8安装Nodejs环境
- 2048小游戏-低调大师作品

微信收款码
支付宝收款码