Spring Boot Persistence with MyBatis
MyBatis is a lightweight SQL-mapping framweork that removes most JDBC boiler-plate while still giving full control over SQL. The following walkthrough shows how to integrate it into a Spring Boot project and perform common CRUD operations.
Project bootstrap and data source configuration
Create a new Spring Boot project with the spring-boot- ...
Posted on Wed, 20 May 2026 08:09:11 +0000 by AceE
Implementing Multiple Data Sources in Spring Boot with AOP
Implementing Multiple Data Sources in Spring Boot with AOP
In this article, we'll explore how to configure a Spring Boot application with multiple database connections using Aspect-Oriented Programming (AOP). We'll use HikariCP as the connection pool, MybatisPlus as the ORM framework, and demonstrate connections to both MySQL and SQL Server dat ...
Posted on Sat, 16 May 2026 17:23:36 +0000 by mk_silence
Optimizing Database Design and Query Performance in Affiliate Rebate Systems
In affiliate rebate platforms—where high-volume transactions, real-time commission tracking, and user activity logs are common—database efficiency directly impacts system scalability and responsiveness. Optimizing both schema design and data access patterns is essential to maintain performance under load.
Schema Design Best Practices
A well-str ...
Posted on Wed, 13 May 2026 09:19:28 +0000 by gtrufitt
Deep Dive into HikariCP Performance Optimization Mechanisms
Origins and MotivationExisting database connection pools suffered from persistent deadlocks, overly complex locking mechanisms, and violations of JDBC contracts. A common JDBC contract violation involved returning connections to the pool without resetting state variables like auto-commit settings or transaction isolation levels, leaving subsequ ...
Posted on Sun, 10 May 2026 17:39:14 +0000 by simun