Can I save iBatis and Mybatis in one application when switching to myBatis?

The question is the title. The following is a brief explanation.

I have an application that uses iBatis 2, and I would like to upgrade to the latest version of myBatis (3.2.0 at the time of writing). Since I do not have time to start and finish work without having to perform other tasks in this application, and given that creating a branch will require a painful merge at the end, I was wondering if I could introduce myBatis and then meet my goal gradually. In the end, iBatis will be completely removed.

Can I run into some conflicts along the way? In other words, can iBatis 2.3 and MyBatis 3.2 live together? Some of you may have faced the same problem.

+5
source share
1 answer

I think that the migration process is not very complicated, this is a task that you can achieve in a few hours.

Most of the work is to change package names. Take a look at this doc .

In any case, since iBatis and myBatis use different packages, there should be no problem working with them at the same time.

+1
source

All Articles