Top "Mybatis" questions

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

MyBatis - defining a global parameter

First the problem: I'm using XML-defined queries and the SQL contains database name as part of a table name. For …

java parameters global mybatis
MyBatis does not resolve Inner class when parsing SQL Mapper Configuration handlers

Using MyBatis 3.2.8, I'm trying to map an enum type (Status) to the jdbc VARCHAR type (to can use only the …

mybatis
Mybatis map multiple resultsets into object inner collections

Brief problem description Following guideline for multiple resultsets and with help from this answer I now able to extract 2 different …

java xml mybatis multiple-resultsets
Spring 4 + MyBatis integration issue using Java 8

I'm facing the following exception when using Java 8 (1.8.0_60), Spring 4.2.1 and MyBatis 3.3.0 Sep 29, 2015 11:02:58 AM org.springframework.context.annotation.AnnotationConfigApplicationContext prepareRefresh INFO: …

java spring java-8 mybatis spring-mybatis
Mybatis If statements using include properties

I'm trying to create a generic SQL include in Mybatis that will apply a comparator given a particular value. The …

java postgresql mybatis dynamic-sql ognl
How to configure Log4j in Spring for MyBatis SQL queries?

I have the a Spring MVC project with mybatis 3.3.0 and mybatis-spring 1.2.3 and I want to configure log4j in my …

spring-mvc logging log4j mybatis spring-mybatis
Send & Retrieve array list to oracle stored procedure

I'm trying to push "Arraylist" to oracle stored procedure and after making necessary modification, the object it is returned back. …

java arrays oracle mybatis typehandler
What benefits MyBatis provides over working with plain JDBC

I need to write pretty straight forward DB code and I'm considering MyBatis over plain JDBC (I believe full ORM …

java sql jdbc ibatis mybatis
MyBatis Batch Insert/Update Using Annotations

Please let me know, how to perform batch insert/update in mybatis using annotated mappers.

mybatis ibatis spring-mybatis