Custom Type Handlers and Pagination Plugins in MyBatis

Type handlers in MyBatis bridge the gap between JDBC types and Java objects during parameter binding and result mapping. While MyBatis providse built-in handlers for common types, custom handlers enable precise control over serialization and deserialization logic—especially useful when persisting non-standard representations (e.g., storing Date ...

Posted on Wed, 14 Oct 2026 16:24:05 +0000 by natbrazil

Spring Boot with MyBatis Transaction Management Setup

Maven Dependencies Add the following dependencies to you're pom.xml: <!-- MyBatis integration for Spring Boot --> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>1.3.1</version> </dependency> <!-- MySQL ...

Posted on Sun, 07 Jun 2026 16:41:13 +0000 by frost

Master-Detail Table Management and Transaction Handling in Permission Systems

Resolving PageHelper Integration Issues When integrating pagination using PageHelper in a Spring project, a compatibility issue may arise between different library versions. The error manifests as a NoSuchMethodError related to MyBatis reflection utilities. The root cause typically involves version mismatches between PageHelper and MyBatis. To ...

Posted on Sun, 07 Jun 2026 16:04:56 +0000 by robot43298