iBatis (MyBatis)

Page 1 of 212

IBatis (MyBatis): Working with Stored Procedures

IBatis (MyBatis): Working with Stored Procedures

This tutorial will walk you through how to setup iBatis (MyBatis) in a simple Java project and will present how to work with stored procedures using MySQL.

The goal os this tutorial is to demonstrate how to execute/call stored procedures using iBatis/MyBatis.

Pre-Requisites

For this tutorial I am…

AKPC_IDS += "807,";
Tagged with:         

IBatis (MyBatis): Working with Dynamic Queries (SQL)

IBatis (MyBatis): Working with Dynamic Queries (SQL)

This tutorial will walk you through how to setup iBatis (MyBatis) in a simple Java project and will present how to work with dynamic queries (SQL).

Pre-Requisites

For this tutorial I am using:

IDE: Eclipse (you can use your favorite one) DataBase: MySQL Libs/jars: MybatisMySQL conector and JUnit (for testing)

This is how…

AKPC_IDS += "781,";
Tagged with:                     

IBatis (MyBatis): Discriminator Column Example – Inheritance Mapping Tutorial

IBatis (MyBatis): Discriminator Column Example – Inheritance Mapping Tutorial
AKPC_IDS += "771,";

IBatis (MyBatis): Handling Constructors

IBatis (MyBatis): Handling Constructors

This tutorial will walk you through how to setup iBatis (MyBatis) in a simple Java project and will present an example using a class constructor with arguments.

Pre-Requisites

For this tutorial I am using:

IDE: Eclipse (you can use your favorite one) DataBase: MySQL Libs/jars: 

IBatis (MyBatis): Handling Joins: Advanced Result Mapping, Association, Collections, N+1 Select Problem

IBatis (MyBatis): Handling Joins: Advanced Result Mapping, Association, Collections, N+1 Select Problem

This tutorial will walk you through how to setup iBatis (MyBatis) in a simple Java project and will present examples using advanced result mapings, how to hadle mappings with association, collections, n+1 problem and will show how to configure these relationships using XML configuration and annotations.

Pre-Requisites

For this tutorial…

AKPC_IDS += "767,";
Page 1 of 212