当前位置:网站首页>New ORM framework -- Introduction to beetlsql
New ORM framework -- Introduction to beetlsql
2022-04-23 03:17:00 【Xiaodaoxian 97】
It is necessary to read this article 1.8 minute .
Recently joined this company ORM The framework is not used MyBatis、Hibernate、 Neither JPA, It's called BeetlSQL Framework . This article is not an explanation of this framework ( I don't think it's necessary , I'll say later ), But a brief introduction to it and the feeling of using it this week , Let you have a preliminary understanding of this framework .
Search online MyBatis、Hibernate、BeetlSQL Comparison of , The following picture appears :
At first glance, I was very excited about this picture , And sent it to my friends to see ( I think the love of advanced technology is the instinct of every programmer ), Unfortunately, after several searches, it was finally found that this picture came from BeetlSQL Author's hand …
Basically, there is very little information about this framework on the Internet , This means that if something goes wrong, it's hard for you to find the answer , Basically, we can only rely on our own experience and documents to solve , This is still a little unfriendly to junior programmers , That's why I won't explain this framework more .
The reason why I still want to write an article to roughly introduce it is as follows :
- The reason why the company chose it , There must be his reason , Just for the time being, I don't know
- After a week's use and knowledge gained from documents , I found it was really good
- After a simple and easy introduction, let everyone know a new thing , It's also very good ( It's not like I used to have only those kinds of ORM)
- This is a framework developed by Chinese people
BeetlSQL The use of is somewhat similar MyBatisPlus( The most basic addition, deletion, modification and query have been realized at the bottom , We don't need to write it ourselves ).
Compare with Mybatis complex sql Is written in the book xml Inside , This BeetlSQL Is written in the book MD(markdown grammar ) Inside , Maybe I haven't fully adapted to , At present, I think it is still written in xml Inside good .
Not officially used Hibernate I don't know how the paging in it is used ,Mybatis Pagination of requires the introduction of a plug-in PageHelper( It's not the only one ), And this BeetlSQL It has its own paging function , It works like Mybatis+PageHelper It's just as simple .
Use these ORM frame , One aspect is that we can map the data in relation , Second, there is no need to operate the underlying JDBC Connect , Let's pay more attention to the realization of business .
from BeetlSQL Let's take a look at the documents , It does more for the connection , Multiple data sources , Sub database and sub table have their own implementation , I used to use MyBatisPlus I have done a simple multi data test. Although it feels very simple, it is not very perfect .
We use Mybatis The grammar inside, such as #{}、、 Wait for some grammar , stay BeetlSQL It has its own implementation , It's about the same , May be a little resistant to learning new grammar for the first time , But it's very simple .
For the basic operation, we put BeetlSQL It means MyBatisPlus, And more than it is for multiple data sources 、 Operation of sub database and sub table .
Here is BeetlSQL Documentation of :
BeetlSQL Our goal is to provide development agility , Convenient maintenance , Run a high-speed database access framework , In the case of multiple libraries in a system , Provide a consistent way to write code .
BeetlSQL The goal is to replace the traditional Hibernate,JPA,MyBatis.
BeetlSQL It's not just a simple analogy MyBatis Or is it Hibernate, Or a combination of the two ,BeetlSQL The purpose is to benchmark or even surpass Spring Data, It is a unified framework for data access , Whether it's a traditional database , Big data , Or query engine or timing library , In-memory database .
版权声明
本文为[Xiaodaoxian 97]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230315096423.html
边栏推荐
- Five tips for cross-border e-commerce in 2022
- Due to 3 ²+ four ²= five ², Therefore, we call '3,4,5' as the number of Pythagorean shares, and find the array of all Pythagorean shares within n (including n).
- 通过 zxing 生成二维码
- Mysql database, inconsistent index character set, slow SQL query, interface timeout
- LoadRunner - performance testing tool
- 二进制文件版本控制工具选择难?看完这篇你会找到答案
- 超好用的【通用Excel导入功能】
- Is it difficult to choose binary version control tools? After reading this article, you will find the answer
- Eight elder brothers chronicle [4]
- Xutils3 corrected a bug I reported. Happy
猜你喜欢
《C语言程序设计》(谭浩强第五版) 第8章 善于利用指针 习题解析与答案
A set of combination boxing to create an idea eye protection scheme
超好用的Excel异步导出功能
The most detailed in the whole network, software testing measurement, how to optimize software testing cost and improve efficiency --- hot
The most easy to understand dependency injection and control inversion
可以接收多种数据类型参数——可变参数
[vs Code] solve the problem that the jupyter file displays exceptions in vs code
C read / write binary file
超好用的【通用Excel导入功能】
一文了解全面静态代码分析
随机推荐
Improvement of ref and struct in C 11
IDEA查看历史记录【文件历史和项目历史】
编码电机PID调试(速度环|位置环|跟随)
Xutils3 corrected a bug I reported. Happy
oracle 查询外键含有逗号分隔的数据
2022山东省安全员C证上岗证题库及在线模拟考试
Xamarin effect Chapter 22 recording effect
场景题:A系统如何使用B系统的页面
. NETCORE sets the API post mode, which can accept parameters directly in parentheses
Five tips for cross-border e-commerce in 2022
MySQL之explain关键字详解
Mysql database, inconsistent index character set, slow SQL query, interface timeout
Using stack to solve the problem of "mini parser"
研讨会回放视频:如何提升Jenkins能力,使其成为真正的DevOps平台
一文了解全面静态代码分析
Two methods are used to solve the "maximum palindrome product" problem
Huawei mobile ADB devices connection device is empty
Docker拉取mysql并连接
Eight elder brothers chronicle [4]
通过 zxing 生成二维码