In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
Microdao open source framework example analysis, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.
MicroDao Chinese Dao
In order to solve the inherent defects of mybatis, MicroDao carries out a new packaged dao framework, which covers mybatis and is more flexible than mybatis.
MicroDao supports both mysql and oracle
Open source code address: https://github.com/jeffreyning/MicroDao
Advantages of MicroDao over mybatis:
1the SQL script supports hot deployment to take effect in real time after modification.
2the mapping relationship between the bean and the database field is set to bean through annotations, but does not have to be reflected in the sql script.
3The jsp script supports writing similar to jsp, and there is no need to distinguish between select and update using different tags, so it is more flexible.
4, no need to use plug-ins, built-in support for physical paging.
5. No plug-ins are required, and the standard addition, deletion, modification and query function for bean is supported in the built-in.
6, do not need to use plug-ins, built-in support for read-write separation, sub-library sub-table.
7. Dynamic fields are supported for mysql5.7.
Support mapper, template and non-orm modes to support business systems
1Powermapper means that dao instances are automatically generated at runtime through scanning interfaces.
2. Dao template refers to the generation of a template subclass by inheriting the dao standard parent class
3. Non-orm means that you can perform more flexible database operations on non-orm by using microDao instances directly.
Technical description of mapper mode
1. Write entity bean to use @ MicroTableName annotation to specify the corresponding table name
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.