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>