Ibatis之Eclipse开发插件——Ibator的安装及ibatorConfig.xml的配置

本文介绍了如何在Eclipse中安装Ibatis开发插件Ibator,包括通过软件更新菜单添加站点进行在线安装,以及本地安装的方法。详细步骤包括添加站点、选择Apache iBATIS Ibator Feature并完成安装向导。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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产生的文件有:
  • SqlMap XML Files
  • Java Classes to match the primary key and fields of the table(s)
  • DAO Classes that use the above objects (optional)
Ibator can run as a standalone JAR file, or as an Ant task, or as an Eclipse plugin.

2、插件安装

        我们可以借助Eclipse来安装,当然也可以直接到 http://ibatis.apache.org/ibator.html下载,然后解压,将相应的的文件拷贝到eclipse目录。

    
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值