欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Eclispe ibatis生成数据库表结构

程序员文章站 2024-03-21 22:35:22
...

<?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.ibm.db2.jcc.DB2Driver"
connectionURL="jdbc:db2://localhost:50000/BGS" userId="db2admin"
password="db2admin">
<classPathEntry
location="C:\workspace\BGS\WebContent\WEB-INF\lib\db2jcc.jar" />
<classPathEntry
location="C:\workspace\BGS\WebContent\WEB-INF\lib\db2jcc_license_cisuz.jar" />
<classPathEntry
location="C:\workspace\BGS\WebContent\WEB-INF\lib\db2jcc_license_cu.jar" />
</jdbcConnection>
<javaModelGenerator targetPackage="com.ibm.bgs.model.hy"
targetProject="aa" />
<sqlMapGenerator targetPackage="com.ibm.bgs.model.hy"
targetProject="aa" />
<daoGenerator targetPackage="com.ibm.bgs.dao.hy"
targetProject="aa" type="SPRING" />
<table schema="" tableName="HYCUSTOMSCONTROLAIR">
</table>
<table schema="" tableName="HYCUSTOMSCONTROL">
<generatedKey column="CUSTOMSCONTROLID" sqlStatement="DB2" identity="true" type="post" />
</table>

</abatorContext>
</abatorConfiguration>