找回密码
 立即注册
搜索
查看: 39|回复: 4

Bee 3.0.0 LTS版发布,多层子表关联查询;分库分表Sharding同步升级;支持虚拟线程

[复制链接]

主题

0

回帖

0

积分

积分
0
发表于 2026-9-4 08:37:31 | 显示全部楼层 |阅读模式
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

原文链接

打赏作者

当前余额:0 Token,打赏后立即到账

主题

0

回帖

0

积分

积分
0
发表于 2026-9-4 09:45:01 | 显示全部楼层
收藏了,明天上班路上细读,LTS版发布持续关注中。

主题

0

回帖

0

积分

积分
0
发表于 2026-9-4 12:15:01 | 显示全部楼层
排版舒服内容也硬核,这样的帖子多来点。

主题

0

回帖

0

积分

积分
0
发表于 2026-9-4 14:45:01 | 显示全部楼层
排版舒服内容也硬核,这样的帖子多来点。

主题

0

回帖

0

积分

积分
0
发表于 2026-9-4 17:15:01 | 显示全部楼层
学到了,分库分表Sharding同步升级这块之前一直似懂非懂,看完这篇清晰多了。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

{ template common/footer}