Top "Mybatis" questions

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

How to make the myBatis select result(list) be set to object's property?

Generally, myBatis's select method returns single object or generic List types. for example, I want to fetch all students of …

mybatis
MyBatis enum usage

I know this has been asked before, but I wasn't able to implement a solution based on the information I …

java mysql enums mybatis
How to do Pagination with mybatis?

I am currently working on a ecommerce application where I have to show a list of available products using search …

mysql hibernate pagination mybatis
How can I print SQL query result log with log4j?

I'm using Spring 3.1.1, MyBatis 3.1.1, MySQL 5.0.67. My Spring configuration is below: <bean id="dataSource" class="org.apache.tomcat.jdbc.pool.…

sql spring jdbc log4j mybatis
How to Pass Java List of Objects to Oracle Stored Procedure Using MyBatis?

I have been googling this for a while and cannot seem to find any real answers. I have an Oracle …

oracle stored-procedures mybatis
how to configure logback for Mybatis to print my SQL

<?xml version="1.0" encoding="UTF-8"?> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> &…

logback mybatis
How to return ids on Inserts with mybatis in mysql with annotations

See this related question for Postgres. For some reason, the solution doesn't work for me - the return value of …

java mysql mybatis
How to configure Spring to make JPA (Hibernate) and JDBC (JdbcTemplate or MyBatis) share the same transaction

I have a single dataSource, I use Spring 3.0.3, Hibernate 3.5.1 as JPA provider and I use MyBatis 3.0.2 for some queries and …

hibernate spring jpa transactions mybatis
MyBatis/iBatis - reusable sql fragments in a separate SQL Map file?

I would like to put sql fragments used by several of my SQL Map XML files in a separate file. …

java ibatis mybatis
Difference between ibatis and mybatis

What is the difference between iBatis and myBatis? Where can i find a perfect example of those ? Please suggest. I …

mybatis ibatis