Bee 3.0.0 LTS版发布,多层子表关联查询;分库分表Sharding同步升级;支持虚拟线程
ORM Bee,体积小,速度快,功能强. 接近JDBC的速度,3.0.0 LTS 版本仅969k. Bee, 接口简单,功能齐全,性能好,支持原生分页性能更高;还有分库分表 (Sharding 分片) 功能,也支持 MongoDB ORM. Bee = Hibernate/MyBatis+ plus +Sharding JDBC + Jpa+ Spring data+ GraphQL+ App ORM (Android, 鸿蒙) 小巧玲珑!仅 969K, 还不到 1M, 但却是功能强大! V3.0.0(3.0.x·LTS版) i) 多表查询增加支持多层子表: 多表查询 (一对一关联) 多表查询支持 (多对一) 多表查询支持 (一对多) 多表查询支持 Condition 参数 多表查询支持分页 多表查询,精确分页 支持分库分表 多表关联支持update/insert/delete update @JoinTable, @FK update @JoinTable: subClass="Student" -> subClass=Student.class update @FK: @FK(refBy="id", value="classno") -> @FK(mainField="id", subField="classno") value -> subField MoreTable select 支持分库分表 Sharding MoreTable insert/update/delete Sharding 多表关联插入/更新/删除,支持分库分表 ii) DDL增加支持 DDL create table(entity -> table) support @StringLen, @ColumnType DDL create table(entity -> table) support @NotNull, @Unique iii) Sharding order by字段没有select, sharding需要补列 group by字段没有select, sharding需要补列 删除sharding时自动补的列(group by/order by/avg) MoreTable sharding多表分片时,结果排序支持 MoreTable sharding分片查询支持AVG update BeeSql selectRs 修复缺陷:sharding选择聚合函数时没有分组时各分片要归并成一组 iv) 21. 支持JDK 21 VirtualThread虚拟线程 往期: Bee 2.5.2 发布 https://www.oschina.net/news/365857/bee-2-5-2-lts Bee 2.5.10发布 https://www.oschina.net/news/437748/bee-2-5-10-released 测试与实例 bee-exam https://gitee.com/automvc/bee-exam bee-starter-demo https://gitee.com/automvc/bee-starter-demo 自动生成 Spring Boot 后端微服务代码,几秒钟即可完成,秒杀 GPT. https://gitee.com/automvc/gencode 项目首页: https://gitee.com/automvc/bee https://github.com/automvc/bee https://gitee.com/automvc/bee-springboot Python 版 ORM BeePy