generatorConfig.xml配置

前端之家收集整理的这篇文章主要介绍了generatorConfig.xml配置前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd" >
<generatorConfiguration>
	<context id="context1" defaultModelType="flat">
		<!-- 这里引入扩展插件 -->
		<plugin type="com.xb.util.MysqLPaginationPlugin" />
		<jdbcConnection driverClass="com.MysqL.jdbc.Driver"
			connectionURL="jdbc:MysqL://localhost:3306/moviestone_db" userId="root"
			password="123456" />
		<javaModelGenerator targetPackage="com.xb.model"
			targetProject="MovieStoneServer16" />
		<sqlMapGenerator targetPackage="com.xb.mapper"
			targetProject="MovieStoneServer16" />
		<javaClientGenerator targetPackage="com.xb.dao"
			targetProject="MovieStoneServer16" type="XMLMAPPER" />
			
		<table schema="general" tableName="movie_enterprise_auto" domainObjectName="MovieEnterpriseAutoData"
			enableCountByExample="true" enableUpdateByExample="true"
			enableDeleteByExample="true" enableSelectByExample="true"
			selectByExampleQueryId="true">
			<property name="useActualColumnNames" value="false" />
			<!--<generatedKey column="UID" sqlStatement="MysqL" identity="true" /> -->
		</table>

	</context>
</generatorConfiguration>
原文链接:/xml/294177.html

猜你在找的XML相关文章