当前位置:网站首页>Introduction to bee's main functions and features

Introduction to bee's main functions and features

2022-06-22 08:15:00 abckingaa

Bee Introduction to main functions and features :

  • Bee Simple concept (10 Minutes to get started )、 Powerful .
    Bee  Simplify and DB Interactive coding workload . Connect , Transactions can be handled by Bee The framework is responsible for managing .

  • 1. The interface is simple , Easy to use .Suid The interface corresponds to SQL Linguistic select,update,insert,delete Operation provides 4 A method with the same name .
  • 2. Used Bee, You don't have to write anything else dao Code , Call directly Bee Of api To complete the DB The operation of .
  • 3. Convention over configuration :Javabean There is no comment , Don't need to, xml The mapping file , It's just pure Javabean that will do , even to the extent that get,set The method is not necessary .
  • 4. Intelligent automatic filtering null And empty string , No longer need to write code to judge non empty .
  • 5. dynamic / Arbitrary combination Query criteria , There's no need to prepare in advance dao Interface , There is no need to modify or add interfaces when there are new query requirements .
  • 6. Support native SQL Sort ,  Native statement paging ( There's no need to look up all the data ).
  • 7. Support Go straight back to Json Format query results ; Chain programming .
  • 8. Support Business 、 Multiple ORM The operation uses the same connection 、for update, Support The batch operation , Support native SQL( Customize sql sentence ), Support stored procedure .
  • 9. Support Query only part of the fields .
  • 10. Support object-oriented complex query 、 Multi-table query ( nothing n+1 problem ; Support : one-on-one , One to many , For one more , Many to many ).
  • 11. First level cache , Simple concept , Powerful ; L1 cache can also image JVM Fine grained tuning as well ; Smart Cache , Support to update configuration table , Don't have to restart .
  • 12. Table name and entity name 、 The mapping between field name and attribute name provides multiple implementations by default , And support Custom mapping rule extension .
  • 13. Varied DB Support easy expansion (MySQL,MariaDB,Oracle,H2,SQLite,PostgreSQL,SQL Server And so on ).
  • 14. Support Read / write separation One master, many followers , only sub-treasury etc. Multiple data sources Pattern ( There is no need to modify the previous code , This function is transparent to the code , That is, no additional coding is required ), Sub library only Multiple types of databases can be used at the same time .
  • 15. Distributed Generate... In an environment Continuously monotonically increasing ( In a workerid Inside ), Globally unique Numbers id; Provide a natural and simple distributed primary key generation method .
  • 16. Support the same database sub table , Dynamic table name mapping .
  • 17. You don't need the corresponding table Javabean Can also operate DB.
  • 18. nothing Third party plug-ins depend on ; It can be used with zero configuration .
  • 19. Good performance : near JDBC The speed of ; The file is small :Bee V1.8 jar only 217kV1.9.5 jar, only 315k.
    Auxiliary function :
  • 20. Support automatic generation of the corresponding table Javabean, according to Javabean Create table ,Javaweb Back end code according to The template is generated automatically ; Can print non placeholder Executable sql, Convenient debugging .
  • 21. Support Read Excel, from Excel Import data to DB, It's easy to operate .

Reference resources :

https://github.com/automvc/bee

 

 

原网站

版权声明
本文为[abckingaa]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202220529316045.html