IBatis tools address:
http://ibatis.apache.org/docs/tools/abator/
IBatis eclipse Plugin:
http://ibatis.apache.org/tools/abator
======================================
<?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 generatorSet="java5">
<jdbcConnection driverClass="com.mysql.jdbc.Driver"connectionURL="jdbc:mysql://127.0.0.1:3306/test_DB" userId="orca" password="orca">
<classPathEntry location="F:/soft/programmingSoft/MySql/mysql-connector-java-5.1.10-bin.jar" />
</jdbcConnection>
<javaModelGenerator targetPackage="org.orca.model" targetProject="m2m/src" />
<sqlMapGenerator targetPackage="org.orca.model" targetProject="m2m/src" />
<daoGenerator type="SPRING" targetPackage="org.orca.dao" targetProject="m2m/src">
<property name="enableSubPackages" value="true"/>
</daoGenerator>
<table schema="test_db" tableName="employee" alias="EmployeeBean" domainObjectName="EmployeeBean" />
<table schema="test_db" tableName="project" alias="ProjectBean" domainObjectName="ProjectBean" />
<table schema="test_db" tableName="pro_emp" alias="ProjectEmployeeBean" domainObjectName="ProjectEmployeeBean" />
</abatorContext>
</abatorConfiguration>
========================================================================
Abator for Eclipse Update Site
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:
- Take the "Help>Software Updates>Find and Install" Menu Option
- Select the "Search for new features to install" radio button, press "Next"
- Press the "New Remote Site" button
- Enter the following information:
-
Name:
- Abator for Eclipse Update Site URL:
- http://ibatis.apache.org/tools/abator
- Press OK
- Check the box next to "Abator for Eclipse Update Site"
- Follow the remainder of the install wizard