BeetlSQL 3.19.3 发布,流行 Java ORM 工具

1 修复3.19.0 发版中query.between 实现的bug

2 使用最新的beetl版本,模板相关sql性能带来小幅度提升

maven

<dependency>
    <groupId>com.ibeetl</groupId>
    <artifactId>beetlsql</artifactId>
    <version>3.19.3-RELEASE</version>
</dependency>

BeetlSQL 自主研发自 2015 年,目标是提供开发高效,维护高效,运行高效的数据访问框架,它适用范围广,定制性强,写起数据库访问代码特别顺滑,不亚于 MyBatis。你不想写 SQL 也好,或者想更好地写 SQL 也好,BeetlSQL 都能满足这要求,目前支持的数据库如下

  • 传统数据库:MySQL (包括支持 MySQL 协议的各种数据库), MariaDB ,Oralce ,Postgres (包括支持 Postgres 协议的各种数据库), DB2 , SQL Server ,H2 , SQLite , Derby ,神通,达梦,华为高斯,人大金仓,PolarDB,GBase8s,GreatSQL 等
  • 大数据:HBase,ClickHouse,Cassandar,Hive,GreenPlum
  • 物联网时序数据库:Machbase,TD-Engine,IotDB
  • SQL 查询引擎:Drill,Presto,Druid
  • 内存数据库:ignite,CouchBase

阅读文档 源码和例子 在线体验 多库使用 性能测试

 

如下测试包含了常用的orm操作: 多表联合查询映射(complexMapping),直接执行sql( executeJdbc),执行模板sql(executeTemplate), 执行文件中的模板sql( File), 内置插入(insert),Query调用链(Query),翻页查询(pageQuery),内置主键查询(selectById), one2Many 自动关联查询 

Benchmark                         Mode  Cnt    Score     Error   Units
JMHMain.beetlsqlComplexMapping   thrpt    5  177.412 ±  59.295  ops/ms
JMHMain.beetlsqlExecuteJdbc      thrpt    5  365.386 ± 131.116  ops/ms
JMHMain.beetlsqlExecuteTemplate  thrpt    5  313.983 ± 109.348  ops/ms
JMHMain.beetlsqlFile             thrpt    5  343.331 ± 138.322  ops/ms
JMHMain.beetlsqlInsert           thrpt    5  196.150 ±  87.106  ops/ms
JMHMain.beetlsqlLambdaQuery      thrpt    5  219.579 ±  88.081  ops/ms
JMHMain.beetlsqlOne2Many         thrpt    5   93.343 ±  37.242  ops/ms
JMHMain.beetlsqlPageQuery        thrpt    5  161.726 ±  76.978  ops/ms
JMHMain.beetlsqlSelectById       thrpt    5  302.450 ±  95.770  ops/ms
JMHMain.jdbcExecuteJdbc          thrpt    5  782.097 ± 252.305  ops/ms
JMHMain.jdbcInsert               thrpt    5  273.364 ± 133.523  ops/ms
JMHMain.jdbcSelectById           thrpt    5  806.214 ± 261.218  ops/ms
JMHMain.jpaExecuteJdbc           thrpt    5  107.990 ±  50.917  ops/ms
JMHMain.jpaExecuteTemplate       thrpt    5  122.694 ±  46.344  ops/ms
JMHMain.jpaInsert                thrpt    5   71.806 ±  37.828  ops/ms
JMHMain.jpaOne2Many              thrpt    5   88.506 ±  36.018  ops/ms
JMHMain.jpaPageQuery             thrpt    5  110.377 ±  35.236  ops/ms
JMHMain.jpaSelectById            thrpt    5  260.832 ±  68.198  ops/ms
JMHMain.mybatisComplexMapping    thrpt    5   86.302 ±  48.819  ops/ms
JMHMain.mybatisExecuteTemplate   thrpt    5  177.863 ±  63.760  ops/ms
JMHMain.mybatisFile              thrpt    5  143.007 ±  69.036  ops/ms
JMHMain.mybatisInsert            thrpt    5  122.391 ±  45.541  ops/ms
JMHMain.mybatisLambdaQuery       thrpt    5    9.109 ±   5.487  ops/ms
JMHMain.mybatisPageQuery         thrpt    5   58.990 ±  16.252  ops/ms
JMHMain.mybatisSelectById        thrpt    5  184.545 ±  60.096  ops/ms
JMHMain.weedExecuteJdbc          thrpt    5  311.293 ± 161.801  ops/ms
JMHMain.weedExecuteTemplate      thrpt    5  328.432 ± 106.103  ops/ms
JMHMain.weedFile                 thrpt    5  338.572 ± 168.666  ops/ms
JMHMain.weedInsert               thrpt    5  183.079 ± 101.693  ops/ms
JMHMain.weedLambdaQuery          thrpt    5  293.843 ± 155.029  ops/ms
JMHMain.weedPageQuery            thrpt    5  176.761 ±  88.406  ops/ms
JMHMain.weedSelectById           thrpt    5  295.524 ± 147.727  ops/ms
优秀的个人博客,低调大师

微信关注我们

原文链接:https://www.oschina.net/news/215830/beetlsql-3-19-3-released

转载内容版权归作者及来源网站所有!

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。

相关文章

发表评论

资源下载

更多资源
优质分享Android(本站安卓app)

优质分享Android(本站安卓app)

近一个月的开发和优化,本站点的第一个app全新上线。该app采用极致压缩,本体才4.36MB。系统里面做了大量数据访问、缓存优化。方便用户在手机上查看文章。后续会推出HarmonyOS的适配版本。

Mario,低调大师唯一一个Java游戏作品

Mario,低调大师唯一一个Java游戏作品

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

Oracle Database,又名Oracle RDBMS

Oracle Database,又名Oracle RDBMS

Oracle Database,又名Oracle RDBMS,或简称Oracle。是甲骨文公司的一款关系数据库管理系统。它是在数据库领域一直处于领先地位的产品。可以说Oracle数据库系统是目前世界上流行的关系数据库管理系统,系统可移植性好、使用方便、功能强,适用于各类大、中、小、微机环境。它是一种高效率、可靠性好的、适应高吞吐量的数据库方案。

Java Development Kit(Java开发工具)

Java Development Kit(Java开发工具)

JDK是 Java 语言的软件开发工具包,主要用于移动设备、嵌入式设备上的java应用程序。JDK是整个java开发的核心,它包含了JAVA的运行环境(JVM+Java系统类库)和JAVA工具。