Skip to end of metadata
Go to start of metadata

Java Required Version

iBatis can be used with JDK 1.4 or higher,
MyBatis requires JDK 1.5 or higher (MyBatis 3.2 or higher requires JDK 1.6 or higher)

Change of Package Internal Structure

iBatis: com.ibatis. *
MyBatis: org.apache.ibatis. * (Name changed, but iBatis is still used internally)

Change of SqlMap.xml Internal Structure

The biggest change is that the parameterMap is deprecated.

The user cannot user parameterMap, and the part that used parameterMap defined in the parameterType as below.

Change of Terms

SqlMapConfig -> Configuration
sqlMap -> mapper

Change of Namespace

The user cannot use the abbreviated name for each sqlMap, and the user must specify the path. In addition, namespace was optional in iBatis, but it is required in MyBatis.

  • No labels