Category: iBatis (MyBatis)

Getting Started with iBatis (MyBatis): Annotations

Getting Started with iBatis (MyBatis): Annotations

February 21, 2011 | By | 10 Comments

This tutorial will walk you through how to setup iBatis (MyBatis) in a simple Java project and will present examples using simple insert, update, select and delete statements using annotations. This is the third tutorial of the iBatis/MyBatis series, you can read the first 2 tutorials on the following links: Introduction to iBatis (MyBatis), An alternative to [...]

Continue Reading

Getting Started with iBatis (MyBatis): XML Configuration

Getting Started with iBatis (MyBatis): XML Configuration

February 14, 2011 | By | 9 Comments

This tutorial will walk you through how to setup iBatis (MyBatis) in a simple Java project and will present examples using simple insert, update, select and delete statements. Pre-Requisites For this tutorial I am using: IDE: Eclipse (you can use your favorite one) DataBase: MySQL Libs/jars: Mybatis, MySQL conector and JUnit (for testing) This is [...]

Continue Reading

Introduction to iBatis (MyBatis), An alternative to Hibernate and JDBC

Introduction to iBatis (MyBatis), An alternative to Hibernate and JDBC

February 7, 2011 | By | 9 Comments

I started to write a new article series about iBatis/MyBatis. This is the first article and it will walk you through what is iBatis/MyBatis and why you should use it. For those who does not know iBatis/MyBatis yet, it is a persistence framework – an alternative to JDBC and Hibernate, available for Java and .NET [...]

Continue Reading