Top "Mybatis" questions

MyBatis is a framework for mapping objects to relational databases with an emphasis on high performance and simplicity.

MyBatis columns mapping

I am using MyBatis 3.0.3 and have problem: some columns in database have names with underscores and these columns should be …

java mybatis
Lists in MyBatis 'IN' clause

How can I pass an Integer List to MyBatis XML, to be used in an in clause in my MySQL …

java mysql xml mybatis in-clause
How to compare strings in mybatis 3 with if statement - dynamic sql

In myBatis 3 how do you compare a string when using dynamic sql? With iBatis previously you could do the following: &…

ibatis mybatis
Java 8 LocalDate mapping with mybatis

I am using java.time.LocalDate (Java 8) to represent some of the member fields in a Java class. class Test{ …

java mybatis
Error in mapper when using parameter name

I am using Spring 3.2.0 MVC with mybatis 3.2.3 and mybatis-spring 1.2.1 with ojdbc6 11.2.0.2.0 I have an XML mapper defined with 2 parameters of …

java mybatis
how to configure log4j for Mybatis to print my SQL

My project is set up with SpringMVC+Mybatis+EXTJS4. This is my configuration: # Rules reminder: # DEBUG < INFO < WARN &…

java log4j mybatis
How to get Map<String, String> as return type using mybatis annotations

Using annotations in mybatis, can we have return type as normal map ? Basically, I want something like this @Select("select …

java ibatis mybatis
MyBatis - lists of primitive types

This seems to have eluded me. I know I can use a map to return a vanilla set of rows …

mybatis
Mybatis : "less than" issue in Select annotations

I am using java7, spring 3 and mybatis Pom.xml <org.mybatis-version>3.2.8</org.mybatis-version> <org.mybatis-spring-version&…

java spring mybatis
Spring Data JPA & MyBatis

I am trying to use Spring Data JPA with MyBatis. Since there isnt a Vendor Adapter for MyBatis, what is …

java spring-data-jpa mybatis spring-mybatis