Category "mybatis"

Mybatis, pass muliple list as parametres

String loadCandies(@Param("id") String id, @Param("varietyList") List varietyList, @Param("errorCode") List errorCodes) How can I achieve this in mybatis xml, a

Mybatis foreach mapper item exception

I am using foreach for SELECT IN clause. Item has not been found by mapper. Here is part of exception. org.mybatis.spring.MyBatisSystemException: nested excepti

idea Invalid bound statement (not found)

i am using idea 2021, i have a spring boot project with maven and mybatis. i often encounter this problem: once I modify the mybatis sql xml file(e.g. booking.x

Can not using foreign table in DBunit

My project is using SpringMVC, MyBatis, and PostgreSql. In postgres, I have 2 servers: sv1, sv2. I imported a table from sv2 into sv1 using: import foreign s

Getting this error while calling a hardcoded insert query in myBatis

10:59:35,454 ERROR [stderr] (pool-6-thread-1) org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:

How to iterate List in MyBatis

iBatis to MyBatis Migration: Need Help for MyBatis foreach logic, because the Map contains Value as ArrayList. The below java code is the logic: employeeReque

MyBatis Spring Boot custom type handler

I need help with Spring Boot and MyBatis integration. I have an issue with custom BaseTypeHandler. I've created a mapper: @MappedTypes({LocalDateTime.class}) p