Top "Mybatis" questions

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

MyBatis String as Parameter

I want to use a String parameter for a Select Statement in MyBatis. My mapper.xml: <select id="selectAll" …

java database string mybatis
MyBatis Spring MVC Error: Invalid bound statement (not found)

Here is the stack trace when I try to execute a simple query using MyBatis: org.apache.ibatis.binding.BindingException: …

java spring spring-mvc mybatis
MyBatis executing multiple sql statements in one go, is that possible?

i was wondering if it is possible to execute multiple sql statements in 1 go. For example the scenario that i …

java sql jdbc mybatis mapper
Mybatis-Error setting null parameter

I used mybatis-spring-1.0.3-SNAPSHOT mybatis-3.0.6 spring3.0.6.I tried to delete record from a table like this: <delete id="deleteNote" …

mybatis
APPARENT DEADLOCK Creating emergency threads for unassigned pending tasks

I am using mysql with mybatis and I am greeting this error on our live server com.mchange.v2.async.…

java mysql jdbc mybatis
How to check for an empty string in MyBatis?

How do I check for an empty string in the dynamic SQL of MyBatis? I find the code below in …

mybatis
How to use Annotations with iBatis (myBatis) for an IN query?

We'd like to use only annotations with MyBatis; we're really trying to avoid xml. We're trying to use an "IN" …

java annotations ibatis mybatis
Mybatis one-to-many collection mapping always have one default entity

I want to rewrite our services to use mybatis mapping and joins to have our entity full and completed on …

java sql spring mybatis
Get the id of last inserted record in mybatis

I am newbie to mybatis. I am trying to get the id of last inserted record. My database is mysql …

java mysql ibatis mybatis
How can I pass multiple parameters and use them?

Hi I'm new to myBatis. I'm using MyBatis and Spring with mybatis-spring. How can I pass two different types of …

spring mybatis ibatis