sqlmap-config.xml 1.56 KB
<?xml version="1.0" encoding="UTF-8" ?> 
<!DOCTYPE configuration PUBLIC "-//ibatis.apache.org//DTD Config 3.0//EN" "http://ibatis.apache.org/dtd/ibatis-3-config.dtd">

<configuration>
	<settings>
		<setting name="cacheEnabled" value="true" />
		<setting name="multipleResultSetsEnabled" value="true" />
		<setting name="useColumnLabel" value="true" />
		<setting name="defaultStatementTimeout" value="25000" />
	</settings>

	<typeAliases>
		<typeAlias type="com.dili.titan.domain.Category" alias="category" />
		<typeAlias type="com.dili.titan.domain.CategoryAttr" alias="categoryAttr" />
		<typeAlias type="com.dili.titan.domain.Attribute" alias="attribute" />
		<typeAlias type="com.dili.titan.domain.AttributeValue" alias="attributeValue" />
		 <!--供求需求-->
        <typeAlias type="com.dili.titan.domain.gq.Purchase" alias="purchase" />
        <typeAlias type="com.dili.titan.domain.gq.Supply" alias="supply" />
        <typeAlias type="com.dili.titan.domain.gq.Presale" alias="presale" />


        <typeAlias type="com.dili.titan.domain.ProductImg" alias="productImg" />
        <typeAlias type="com.dili.titan.domain.ProductPop" alias="productPop" />
	</typeAliases>

	<mappers>
		<mapper resource="sqlmap/Attribute.xml" />
		<mapper resource="sqlmap/Category.xml" />
         <!--供求需求-->
        <mapper resource="sqlmap/gq/Purchase.xml"/>
        <mapper resource="sqlmap/gq/Presale.xml"/>
        <mapper resource="sqlmap/gq/Supply.xml"/>
        <mapper resource="sqlmap/ProductImg.xml" />
        <mapper resource="sqlmap/ProductPop.xml" />	
	</mappers>

</configuration>