summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/App_Data/mysql4-sqlmap.xml
blob: 8446804493719f82dccfca19cdd69195e37a915a (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
28
29
<?xml version="1.0" encoding="UTF-8" ?>
<sqlMapConfig>
	
	<typeHandlers>
		<typeHandler type="TimeTrackerUser" 
			callback="TimeTrackerUserTypeHandler"/>
		<typeHandler type="DateTime" 
			callback="DateTimeTypeHandler" />
	</typeHandlers>

	
    <provider class="TAdodb">
        <datasource 
        	driver="mysql"
        	username="time-tracker"
        	password="prado"
        	host="localhost"
        	database="time-tracker" />
    </provider>
    
    <sqlMaps>
        <sqlMap resource="MySQL4/users.xml"/>
		<sqlMap resource="MySQL4/projects.xml"/>
		<sqlMap resource="MySQL4/category.xml" />
		<sqlMap resource="MySQL4/time-entry.xml" />
		<sqlMap resource="MySQL4/reports.xml" />
    </sqlMaps>
    
</sqlMapConfig>