sqlmap-config.xml
1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?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>