Top "Mybatis" questions

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

How do I insert collection of objects using MyBatis 3.x?

I'm a beginner with MyBatis. I just want to know how to insert a collection of objects from an instance …

collections insert orm ibatis mybatis
is java.lang.NoClassDefFoundError: org/apache/ibatis/session/SqlSessionFactory with mybatis and Spring

I'm new to Mybatis and trying to implement mybatis with Spring but getting the below runtime error while starting tomcat. …

spring spring-aop mybatis spring-jdbc
Replacing a full ORM (JPA/Hibernate) by a lighter solution : Recommended patterns for load/save?

I'm developing a new Java web application and I'm exploring new ways (new for me!) to persist the data. I …

java sql repository-pattern mybatis jooq
How is MyBatis dealing with an empty result set?

Recently I was using Mybatis3 and found that when your SQL statement gets an empty result set from the database, …

java mysql mybatis
Reusing MyBatis ResultMap in multiple mapper.xml

I would like to re-use a specific from different *Mapper.xml files which all somehow read same objects. I have …

refactoring mybatis resultset mappers
MyBatis 3 - get SQL string from mapper

I'd like to use MyBatis3 only to produce SQL string (using the xml mapping) but the SQL i obtain is …

java sql mybatis
Use an implicit TypeHandler based on resultType for select in MyBatis

I am trying to select a timestamp in MyBatis and return it as a LocalDateTime (from joda-time). My configuration works …

java jodatime mybatis
MyBatis, insert with complex object

I have the following scenario: public class MyObj{ private String myField_1 private String myField_2 private MyChildObj myChild // Constructor & get/…

java mybatis
Passing multiple columns in myBatis <assoctiation>

I want to know, how do we pass multiple columns in a myBatis association tag. For example, I have the …

java database mybatis
MyBatis - Mapped Statements collection already contains value for

I had the following error messages thrown when registering the mapper classes on my server startup, [artifact:mvn] 2016-05-07 11:39:21,708 […

java mybatis spring-mybatis