1: <?xml version="1.0" encoding="UTF-8" ?>
2:
3: <!DOCTYPE sqlMapConfig PUBLIC "-//ibatis.apache.org//DTD SQL Map Config 2.0//EN"
4: "http://ibatis.apache.org/dtd/sql-map-config-2.dtd">
5:
6: <sqlMapConfig>
7:
8: <properties resource="properties/database.properties" />
9:
10: <settings enhancementEnabled="true"
11: cacheModelsEnabled="true"
12: lazyLoadingEnabled="true"/>
13:
14: <transactionManager type="JDBC" commitRequired="false">
15: <dataSource type="SIMPLE">
16: <property name="JDBC.Driver" value="${driver}" />
17: <property name="JDBC.ConnectionURL" value="${url}" />
18: <property name="JDBC.Username" value="${username}" />
19: <property name="JDBC.Password" value="${password}" />
20: </dataSource>
21: </transactionManager>
22:
23: <sqlMap resource="org/ibatis/model/mapping/Customer.xml" />
24:
25:
26:
27:
28: </sqlMapConfig>
29:
30: