Top "Mybatis" questions

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

uuid custom typehandler mybatis

I want to manage a table with a VARCHAR primary key, that in the mapped java object should be a …

mybatis typehandler
Spring with MyBatis: expected single matching bean but found 2

I've been using Spring with MyBatis and it's been working really well for a single database. I ran into difficulties …

java spring spring-boot mybatis spring-mybatis
MyBatis retrieve Integer as Enum from MySql DB

I hava a POJO which contains an enum property. [Speed.java] public class SpeedEntry implements Serializable { [...] private int idSpeed; private …

mysql enums mybatis pojo
How to use @Transactional annotation in mybatis-spring?

I tried to use @Transactional annotation in spring and mybatis using mybatis-spring dependency. This is the service layer. @Service public …

java database spring mybatis
Creating a table programmatically using MyBatis and MySql

I want to create a method to dynamically create tables just passing the table name as a variable. I have …

java mysql database mybatis spring-mybatis
Is jdbcType necessary in a MyBatis mapper?

I've been searching and I don't have this very clear. When using a MyBatis mapper, is it necessary to set …

jdbc mybatis
How to apply a method to a parameter in MyBatis

After reading about Mapper XMLs I can't help to wonder how one might go about appling some common transforms to …

db2 mybatis ognl
Unit test MyBatis with HSQL instead of Oracle

I would like to unit test my MyBatis persistence layer using an HSQL in-memory database. The real application uses an …

oracle hsqldb mybatis
Mybatis Generator: What's the best way to separate out "auto generated" and "hand edited files"

I am on a project that uses both Mybatis (for persisting java to database) and Mybatis Generator (to automatically generate …

mybatis mybatis-generator
Idea inspects batis mapper bean wrong

There's web project with Spring and MyBatis. I use IntelliJ IDEA for development. IDEA cannot correctly inspect MyBatis beans and …

java spring intellij-idea mybatis inspection