programmer group

6, jOOQ series tutorial - jOOQ and Spring integration

Complete tutorial: https://jooq.diamondfsd.com This chapter focuses on the basic integration methods of jOOQ and Spring, including data source automatic injection, DAO automatic injection, and transaction management. Spring Maven dependencies On the basis of the original dependency, you need to add Spring related dependency. In addition, use Spring Spring's basic dependencies are containers, annotations, and data source related...

programmer group

7, jOOQ series tutorial - multi data source processing

Complete tutorial: https://jooq.diamondfsd.com/ At present, under the framework of microservice, single service single library operation is more advocated. However, due to some historical burden or other factors, it is necessary to access multiple databases at the same time in the project. This article mainly explains some handling methods for this situation Multiple databases are divided into two situations. The two situations are not...

programmer group

5, Qooq series - interfaces and daos

Complete tutorial: https://jooq.diamondfsd.com This chapter focuses on the interfaces and daos configurations of the jOOQ code generator, which are the interfaces and daos corresponding to the generated tables interfaces During the code generation of jOOQ, this configuration can be used to generate a one-to-one interface corresponding to the table for POJO and Record. The interface defines the getter/setter method and the from/into...

programmer group

About MariaDB.10.5.1 master-slave replication

Note: the demo environment of this blog is based on centos7.2 x86? 64 bit, minimized installation system, and MariaDB.10.5.1 binary installation 1, A brief introduction to the parallel replication mode of slave Library Five modes of slave parallel mode:Five official models Description: Controls what transactions are applied in parallel when using parallel replication. optimistic: tries to apply most transactional DML in parallel, and...