http://people.apache.org/builds/
1、新建一个test项目
2、在test项目中new-> other->Apache iBATIS Ibator ->Apache iBATIS Ibator Configuration File ->Next ->Finish
3、配置ibatorConfig.xml
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ibatorConfiguration PUBLIC "-//Apache Software Foundation//DTD Apache iBATIS Ibator Configuration 1.0//EN" "http://ibatis.apache.org/dtd/ibator-config_1_0.dtd" >
<ibatorConfiguration>
<!-- 数据库驱动 -->
<classPathEntry location="E:\classes12.jar" />
<ibatorContext id="test">
<!-- 注释 -->
<commentGenerator>
<property name="suppressDate" value="true" />
</commentGenerator>
<!-- 数据库的设置 -->
<jdbcConnection driverClass="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@localhost:1521:orcl" userId="test"
password="test" />
<!-- 实体类的设置 -->
<javaModelGenerator targetPackage="com.demo.beans"
targetProject="test" />
<!-- SqlMap文件的设置 -->
<sqlMapGenerator targetPackage="com.demo.beans"
targetProject="test" />
<!-- DAO层的设置 -->
<daoGenerator targetPackage="com.demo.dao" targetProject="test"
type="GENERIC-CI" />
<!-- 表的设置 -->
<table tableName="test">
</table>
</ibatorContext>
</ibatorConfiguration>
分享到:
相关推荐
在myelipse7.5中安装ibator插件的方法与安装一般插件的方法是一致的,有以下2种方式(个人推荐使用手动安装方式,避免网络等原因造成安装不成功): 1. 手动安装方式 将邮件中附件的Ibator插件压缩文件IbatorForEclipse...
ibatis 配置文件自动生成工具
ibator相对于hibernate框架能完全自主编写sql代码,同时又有hibernate便于管理的优点,是非常理想的持久层技术
ibator教学视频,手把手教你使用ibator
使用数据库的注释,不用自带的注释 http://blog.csdn.net/tiantangpw/article/details/43489817 运行命令 java -jar ibator.jar -configfile ibatorConfig.xml -overwrite >>ibator.log
iBATOR is a code generator for iBATIS.
做SSI项目时,Ibator映射出来的内容实在太多了,有很多内容都用不上,参考Ibator的结构,实现对基本字段和方法的映射!
ibator插件优化的jar包,安装完ibator后,将eclipse\plugins\org.apache.ibatis.ibator.core_1.2.1下的jar包替换即可。
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 ...
ibator1.2.2多了点功能,具体可以百度,重新编译了下,生成注释去掉了
eclipse的集成插件,ibator.jar,可以直接mybatis导表,图形化展示,简单易用,直接放到eclipse的plugin文件夹下即可
eclipse的ibatis代码生成器,最新版ibator 1.2.1
ibator-config_1_1.dtd ibator用
自动生成dto\dao\xml 自带批处理自动生成程序
此项目通过对ibator的改造,通过执行cmd命令自动生成sql与Dao,大大提高开发效率
Ibatis 生成器 Ibator 的 API 文档
ibator插件+ibatorConfig文件,加入到eclipse中,按照配置文件修改一下就ok了
直接丢到eclipse的plugins目录下就可以了,在一些公司下载不了的地方,方便使用
去除了注释、去除Example方法及去除生成的id前面的“ibatorgenerated_”
用户ibatis自动成才代码的一种工具,减少开发人员的工作量。