编译完了,接下来怎么用?怎么生成的东西还是老样子?别急,看document:
Version 1.2.2
iBATIS 3.x Support
Ibator now includes support for iBATIS version 3, as well as maintinaing the existing support for iBATIS version 2.2.0 and later. For most users, upgrading to iBATIS 3.x only requires two changes to existing Ibator configurations:
- The
targetRuntime
attribute of <ibatorContext> element must be changed to Ibatis3 - The
type
attribute of <daoGenerator> element must be changed to MAPPER
原来要改2个地方。