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>
          <commentGenerator>
			<property name="suppressDate" value="true" />
		</commentGenerator>
		<jdbcConnection driverClass="com.mysql.jdbc.Driver"
			connectionURL="jdbc:mysql://localhost:3306/school"
			userId="root" password="root">
			<classPathEntry
				location="D:\tmpworkspace\wanghulu\WebRoot\WEB-INF\lib\mysql-connector-java-5.1.6-bin.jar" />
		</jdbcConnection>
		<javaModelGenerator targetPackage="com.wl.beans"
			targetProject="wanghulu" />
		<sqlMapGenerator targetPackage="com.wl.dao.sqlmaps" targetProject="wanghulu"/>
		<daoGenerator targetPackage="com.wl.dao"
			targetProject="wanghulu" type="IBATIS" />
		<table  tableName="admin"/>
		<table  tableName="user"/>
		<table  tableName="link"/>
		<table  tableName="menu"/>
		<table  tableName="contents"/>
		<table  tableName="coutact"/>
  </abatorContext>
</abatorConfiguration>
 

你可能感兴趣的:(config)