summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/App_Data/mysql-sqlmap.xml
blob: 3f850955389fc32b4c8ee9ed0e795710c78d406c (plain)
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
<?xml version="1.0" encoding="UTF-8" ?>
<sqlMapConfig>
	
	<typeHandlers>
		<typeHandler type="TimeTrackerUser" 
			callback="TimeTrackerUserTypeHandler"/>
		<typeHandler type="DateTime" callback="DateTimeMySQL" />
	</typeHandlers>
	
    <provider class="TAdodb">
        <datasource 
        	driver="mysql"
        	username="time-tracker"
        	password="prado"
        	host="localhost"
        	database="time-tracker" />
    </provider>
    
    <sqlMaps>
        <sqlMap resource="mysql-maps/users.xml"/>
		<sqlMap resource="mysql-maps/projects.xml"/>
		<sqlMap resource="mysql-maps/category.xml" />
		<sqlMap resource="mysql-maps/time-entry.xml" />
		<sqlMap resource="mysql-maps/reports.xml" />
    </sqlMaps>
    
</sqlMapConfig>