iBATIS插件使用笔记

This is the Abator for Eclipse update site. If you're not sure what Abator is, then see this page http://ibatis.apache.org/abator.html
If you've already installed a prior version of Abator for Eclipse, then simply run the Eclipse Install/Update tool and any new version will be found automatically.
If you've not already installed Abator, then you can use the built in Eclipse install support by following these steps:
 
1.      Take the "Help>Software Updates>Find and Install" Menu Option
2.      Select the "Search for new features to install" radio button, press "Next"
3.      Press the "New Remote Site" button
4.      Enter the following information:
   Name:  Abator for Eclipse Update Site
    URL:  http://ibatis.apache.org/tools/abator
5.      Press OK
6.      Check the box next to "Abator for Eclipse Update Site"
7.      Follow the remainder of the install wizard


abatorConfig.xml配置文件如下:

<? xml version = "1.0" encoding = "UTF-8" ?>
<! DOCTYPE abatorConfiguration PUBLIC "-//Apache Software Foundation//DTD Abator for iBATIS Configuration 1.0//EN"
  "http://ibatis.apache.org/dtd/abator-config_1_0.dtd" >
 
< abatorConfiguration >
  < abatorContext >     <!-- TODO: Add Database Connection Information -->
    < jdbcConnection driverClass = "oracle.jdbc.driver.OracleDriver"
        connectionURL = "jdbc:oracle:thin:@192.168.0.254:1521:tsora"
        userId = "ztry"
        password = "ztry" >
      < classPathEntry location = "D:/workspace_soa/sclhPersonMessage/WebContent/WEB-INF/lib/classes12_10g1.jar" />
    </ jdbcConnection >
 
    < javaModelGenerator targetPackage = "com.sclh.model" targetProject = "test" />
    < sqlMapGenerator targetPackage = "com.sclh.map" targetProject = "test" />
    < daoGenerator type = "IBATIS" targetPackage = "com.sclh.dao" targetProject = "test" />
 
    < table schema = "ztry" tableName = "ztry" >
    </ table >
 
  </ abatorContext >
</ abatorConfiguration >

type:指定生成的dao实现类
1、ibatis:com.ibatis.dao.client.template.SqlMapDaoTemplate
2、spring:org.springframework.orm.ibatis.support.SqlMapClientDaoSupport

SpringSource插件安装地址:
Name: - Location:
"Eclipse Project Test Site" - http://download.eclipse.org/eclipse/updates/3.5/
Aptana AJAX Frameworks Update Site - http://download.aptana.org/tools/studio/plugin/install/frameworks/
Aptana XUL Update Site - http://download.aptana.org/tools/studio/plugin/install/xul
aptana2 - file:/D:/Eclipse/aptana2/
BIRT Update Site - http://download.eclipse.org/birt/update-site/2.5/
D:\JBoss\jbpm-jpdl-designer-3.1.7 - file:/D:/JBoss/jbpm-jpdl-designer-3.1.7/
D:\JBoss\jbpm-jpdl-designer-3.1.7\eclipse - file:/D:/JBoss/jbpm-jpdl-designer-3.1.7/eclipse/
Galileo - http://download.eclipse.org/releases/galileo
jar:file:/D:/JBoss/jbpm-installer-3.3.1.GA.jar!/
jar:file:/D:/JBoss/jbpm-jpdl-designer-3.1.7.zip!/
jboss - file:/D:/JBoss/JBossTools/
Maven Integration for Eclipse Update Extras Site - http://m2eclipse.sonatype.org/sites/m2e-extras/
Maven Integration for Eclipse Update Site - http://m2eclipse.sonatype.org/sites/m2e/
Mozilla XUL Update Site - http://download.aptana.org/tools/studio/plugin/install/xul-eclipse
PRO - http://propedit.sourceforge.jp/eclipse/updates/
SpringSource Update Site for Eclipse 3.5 - http://www.springsource.com/update/e3.5
struts2 - http://mvcwebproject.sourceforge.net/update/
Subclipse 1.6.x Update Site - http://subclipse.tigris.org/update_1.6.x/
ibaits - file:/D:/Eclipse/IbatorForEclipse1.2.1/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值