|
|
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) 多表查询增加支持多层子表:
1.
多表查询 (一对一关联)
2.
多表查询支持 (多对一)
3.
多表查询支持 (一对多)
4.
多表查询支持 Condition 参数
5.
多表查询支持分页
6.
多表查询,精确分页
7.
支持分库分表
8.
多表关联支持update/insert/delete
9.
update @JoinTable, @FK
update @JoinTable:
subClass="Student"
-> subClass=Student.class
update @FK:
@FK(refBy="id", value="classno")
->
@FK(mainField="id", subField="classno")
value -> subField
10.
MoreTable select 支持分库分表 Sharding
11.
MoreTable insert/update/delete Sharding 多表关联插入/更新/删除,支持分库分表
ii) DDL增加支持
12.
DDL create table(entity -> table) support @StringLen, @ColumnType
13.
DDL create table(entity -> table) support @NotNull, @Unique
iii) Sharding
14.
order by字段没有select, sharding需要补列
15.
group by字段没有select, sharding需要补列
16.
删除sharding时自动补的列(group by/order by/avg)
17.
MoreTable sharding多表分片时,结果排序支持
18.
MoreTable sharding分片查询支持AVG
19.
update BeeSql selectRs
20.
修复缺陷: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
原文链接 |
|