Ibatis之Eclipse开发插件——Ibator
1、插件简介
Ibator is a code generator for iBATIS. Ibator will introspect a database table (or many tables) and will generate iBATIS artifacts that can be used to access the table(s). This abates some of the initial nuisance of setting up objects and configuration files to interact with database tables. Ibator seeks to make a major impact on the large percentage of database operations that are simple CRUD (Create, Retrieve, Update, Delete). You will still need to hand code SQL and objects for custom queries, or stored procedures.
Ibator产生的文件有:
2、插件安装
我们可以借助Eclipse来安装,当然也可以直接到 http://ibatis.apache.org/ibator.html下载,然后解压,将相应的的文件拷贝到eclipse目录。
2.1、Eclipse自动安装
If y
Ibator is a code generator for iBATIS. Ibator will introspect a database table (or many tables) and will generate iBATIS artifacts that can be used to access the table(s). This abates some of the initial nuisance of setting up objects and configuration files to interact with database tables. Ibator seeks to make a major impact on the large percentage of database operations that are simple CRUD (Create, Retrieve, Update, Delete). You will still need to hand code SQL and objects for custom queries, or stored procedures.
Ibator产生的文件有:
- SqlMap XML Files
- Java Classes to match the primary key and fields of the table(s)
- DAO Classes that use the above objects (optional)
2、插件安装
我们可以借助Eclipse来安装,当然也可以直接到 http://ibatis.apache.org/ibator.html下载,然后解压,将相应的的文件拷贝到eclipse目录。
2.1、Eclipse自动安装
If y