<?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 >
    <jdbcConnection driverClass="com.mysql.jdbc.Driver" connectionURL="jdbc:mysql://localhost:3306/db" userId="root" password="root" >
      <classPathEntry location="F:\workspace3.7\test\WebContent\WEB-INF\lib\mysql-connector-java-5.1.13-bin.jar" />
    </jdbcConnection>
    <javaModelGenerator targetPackage="com.test.model" targetProject="test/src" />
    <sqlMapGenerator targetPackage="com.test.sqlmap" targetProject="test/src" />
    <daoGenerator type="IBATIS" targetPackage="com.test.dao" targetProject="test/src">
      <property name="enableSubPackages" value="true" />
    </daoGenerator>

   
    <!--<daoGenerator targetPackage="IBATIS" targetProject="com.test.dao" type="GENERIC-CI" />-->
    <table schema="db" tableName="customer" >
      <!--<columnOverride column="???" property="???" />-->
      <generatedKey column="CustomerID" sqlStatement="MYSQL" identity="true" type="post"/>
    </table>
  </abatorContext>
</abatorConfiguration>

相关文章:

  • 2022-12-23
  • 2021-06-07
  • 2021-07-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2022-12-23
  • 2021-07-14
猜你喜欢
  • 2021-10-07
  • 2022-01-12
  • 2021-11-05
  • 2021-09-05
  • 2021-08-13
  • 2021-06-10
相关资源
相似解决方案