Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between ibatis and mybatis

Tags:

ibatis

mybatis

What is the difference between iBatis and myBatis? Where can i find a perfect example of those ? Please suggest. I went through Google and could not find any links for this question.

like image 950
abhay sachu Avatar asked Feb 16 '15 06:02

abhay sachu


People also ask

What is the use of MyBatis?

MyBatis is an open source persistence framework which simplifies the implementation of database access in Java applications. It provides the support for custom SQL, stored procedures and different types of mapping relations. Simply put, it's an alternative to JDBC and Hibernate.

Is iBATIS still used?

Apache iBATIS is retired at the apache software foundation (2010/06/16)


2 Answers

MyBatis is a fork from iBATIS, and according to Wikipedia most of iBATIS' developers moved over to MyBatis too. The iBATIS project is currently marked as Inactive, therefore you should go with MyBatis for new projects and only use iBATIS if you're maintaining an existing project which already uses iBATIS.

http://en.wikipedia.org/wiki/MyBatis

MyBatis is a fork of iBATIS 3.0 and is maintained by a team that includes the original creators of iBATIS.

http://en.wikipedia.org/wiki/IBATIS

On May 21, 2010 the development team forked the code creating a new project called MyBatis and making new releases there. As a consequence the Apache iBATIS project became inactive and was moved to the Apache Attic in June 2010.

like image 169
Dai Avatar answered Sep 23 '22 15:09

Dai


It is the same thing, a persistence framework! But until June 2010, iBatis was under Apache license and since then, the framework founders decided to move it to Google Code and they renamed it to MyBatis.

The framework is still the same though, it just has a different name now. (of course it should be kept in mind that when time pass, components/features etc, might get updated, so there are more powerful functions added to MyBatis).

like image 40
eb01111 Avatar answered Sep 23 '22 15:09

eb01111