BeetlSQL 3.1.3 发布,Java 数据库访问工具
- 修复3.x 的Spring项目,如果不采用spring事务管理,导致获取不到新的链接的Bug
- Spring配置扫描包增强了允许扫描多个包
maven
<dependency> <groupId>com.ibeetl</groupId> <artifactId>beetlsql</artifactId> <version>3.1.3-RELEASE</version> </dependency>
BeetlSQL的目标是提供开发高效,维护高效,运行高效的数据库访问框架,在一个系统多个库的情况下,提供一致的编写代码方式。支持如下数据平台
- 传统数据库:MySQL,MariaDB,Oralce,Postgres,DB2,SQL Server,H2,SQLite,Derby,神通,达梦,华为高斯,人大金仓,PolarDB等
- 大数据:HBase,ClickHouse,Cassandar,Hive
- 物联网时序数据库:Machbase,TD-Engine,IotDB
- SQL查询引擎:Drill,Presto,Druid
- 内存数据库:ignite,CouchBase
BeetlSQL3 性能测试
测试维度是ops/ms,每毫秒的调用次数
Benchmark Mode Cnt Score Error Units JMHMain.beetlsqlComplexMapping thrpt 5 212.378 ± 26.222 ops/ms JMHMain.beetlsqlExecuteJdbc thrpt 5 428.713 ± 66.192 ops/ms JMHMain.beetlsqlExecuteTemplate thrpt 5 374.943 ± 20.214 ops/ms JMHMain.beetlsqlFile thrpt 5 433.001 ± 65.448 ops/ms JMHMain.beetlsqlInsert thrpt 5 236.244 ± 112.102 ops/ms JMHMain.beetlsqlLambdaQuery thrpt 5 247.289 ± 19.310 ops/ms JMHMain.beetlsqlOne2Many thrpt 5 108.132 ± 10.934 ops/ms JMHMain.beetlsqlPageQuery thrpt 5 203.751 ± 9.395 ops/ms JMHMain.beetlsqlSelectById thrpt 5 393.437 ± 15.685 ops/ms JMHMain.jdbcExecuteJdbc thrpt 5 1083.310 ± 80.947 ops/ms JMHMain.jdbcInsert thrpt 5 308.341 ± 231.163 ops/ms JMHMain.jdbcSelectById thrpt 5 1019.370 ± 92.946 ops/ms JMHMain.jpaExecuteJdbc thrpt 5 94.600 ± 15.624 ops/ms JMHMain.jpaExecuteTemplate thrpt 5 133.017 ± 12.954 ops/ms JMHMain.jpaInsert thrpt 5 81.232 ± 26.971 ops/ms JMHMain.jpaOne2Many thrpt 5 101.506 ± 11.301 ops/ms JMHMain.jpaPageQuery thrpt 5 117.748 ± 4.512 ops/ms JMHMain.jpaSelectById thrpt 5 335.945 ± 27.186 ops/ms JMHMain.mybatisComplexMapping thrpt 5 102.402 ± 11.129 ops/ms JMHMain.mybatisExecuteTemplate thrpt 5 202.619 ± 16.978 ops/ms JMHMain.mybatisFile thrpt 5 151.151 ± 4.251 ops/ms JMHMain.mybatisInsert thrpt 5 141.469 ± 43.092 ops/ms JMHMain.mybatisLambdaQuery thrpt 5 15.558 ± 1.481 ops/ms JMHMain.mybatisPageQuery thrpt 5 63.705 ± 7.592 ops/ms JMHMain.mybatisSelectById thrpt 5 197.130 ± 19.461 ops/ms JMHMain.weedExecuteJdbc thrpt 5 416.941 ± 22.256 ops/ms JMHMain.weedExecuteTemplate thrpt 5 439.266 ± 57.130 ops/ms JMHMain.weedFile thrpt 5 477.561 ± 37.926 ops/ms JMHMain.weedInsert thrpt 5 231.444 ± 92.598 ops/ms JMHMain.weedLambdaQuery thrpt 5 422.707 ± 64.716 ops/ms JMHMain.weedPageQuery thrpt 5 246.018 ± 18.724 ops/ms JMHMain.weedSelectById thrpt 5 380.348 ± 20.968 ops/ms

低调大师中文资讯倾力打造互联网数据资讯、行业资源、电子商务、移动互联网、网络营销平台。
持续更新报道IT业界、互联网、市场资讯、驱动更新,是最及时权威的产业资讯及硬件资讯报道平台。
转载内容版权归作者及来源网站所有,本站原创内容转载请注明来源。
- 上一篇
ObjectiveSQL 正式发布 1.4.3 版本
各位,本次新版本做了比较大的优化,主要修复的问题如下:#79,#48,#67,#56 项目地址:https://github.com/braisdom/ObjectiveSql 重点特性介绍: 1)优化SQL 生成逻辑 Order.Table orderTable = Order.asTable(); Select select = new Select(); select.project((sum(orderTable.amount) / sum(orderTable.quantity) * 100).as("unit_amount")) .from(orderTable) .where(orderTable.quantity > 30 && orderTable.salesAt.between("2020-05-02 23:59:59", "2020-05-02 23:59:59")) .groupBy(orderTable.memberId); SELECT (SUM(`orders_t0`.`amount` ) / SUM(`ord...
- 下一篇
苞米豆-lock4j 2.1.0 重磅更新,多种分布式锁同时支持
简介 lock4j-spring-boot-starter是一个分布式锁组件,其提供了多种不同的支持以满足不同性能和环境的需求。 立志打造一个简单但富有内涵的分布式锁组件。 2.1.0 feat: 新增Lock4jProperties支持全局配置锁过期、获取锁超时时间、默认锁执行器等 update: 修改Lock4j注解里的lockClient参数名为executor update: 新增锁执行器支持自定义扩展,支持方法级别配置executor update: 修改锁执行器为单例 remove: 移除Lock4j注解里的lockType参数 remove: 移除Lock4j注解里的keyBuilder参数(扩展keyBuilder需要自行实现LockKeyBuilder接口并声明为spring bean) fix: 修复lockExecutor没有引入相关class的情况下抛class no found feat: 新增不指定executor前提下,默认优先级redisson>redisTemplate>zookeeper remove: 移除Lock4j注解里的LockF...
相关文章
文章评论
共有0条评论来说两句吧...
文章二维码
点击排行
推荐阅读
最新文章
- SpringBoot2更换Tomcat为Jetty,小型站点的福音
- CentOS8,CentOS7,CentOS6编译安装Redis5.0.7
- Docker使用Oracle官方镜像安装(12C,18C,19C)
- Springboot2将连接池hikari替换为druid,体验最强大的数据库连接池
- CentOS8安装Docker,最新的服务器搭配容器使用
- MySQL8.0.19开启GTID主从同步CentOS8
- CentOS7安装Docker,走上虚拟化容器引擎之路
- SpringBoot2全家桶,快速入门学习开发网站教程
- CentOS8编译安装MySQL8.0.19
- SpringBoot2配置默认Tomcat设置,开启更多高级功能