Category Archives: MyBatis

Spring MVC 3 CRUD example with MyBatis 3

In this tutorial series, we will go through a journey of learning stuffs that will make us comfortable with integrating MyBatis 3 and Spring MVC 3 to perform a CRUD operation on database. Example Project description: We have a domain …

Read more »

Spring MVC 3 controller for performing CRUD operation using MyBatis(iBatis) 3

Till now we have created CRUD database service for the domain class “User” and alsointegratedMyBatis configuration with Spring Configuration file. Next, we will create an web page using Spring MVC to use MyBatis CRUD service to perform operations to database. …

Read more »

Integrating MyBatis 3 and Spring frameworks – Part 2

MyBatis 3 is very powerful SQL mapping framework with automatic database access class generation using a proxy implementation of the services defined by users. We get realize it’s true power if you integrate MyBatis 3 with Spring framework and …

Read more »

Creating CRUD service using MyBatis 3 Mapping Framework – Part 1

In first step of our tutorial series, Spring MVC 3 CRUD example with MyBatis 3, we will define a MyBatis service that will help us to perform CRUD operation on database. We have a domain class for User and a …

Read more »

Inserting auto generated id using mybatis and return the generated id to java

In our previous tutorial of MyBatis, we see how to configure MyBatis in in your project and insert data to database using Mybatis proxy functionality. You have notice that, in real life projects the value of id columns are generated …

Read more »

Configuring MyBatis 3

MyBatis is a very popular and also most efficient SQL mapping framework. MyBatis is available for both in java as well as .net language. MyBatis is not really an alternative of Hibernate but we can use this framework to …

Read more »