diff options
Diffstat (limited to 'demos/time-tracker/protected/App_Data/mysql4-sqlmap.xml')
-rw-r--r-- | demos/time-tracker/protected/App_Data/mysql4-sqlmap.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/demos/time-tracker/protected/App_Data/mysql4-sqlmap.xml b/demos/time-tracker/protected/App_Data/mysql4-sqlmap.xml new file mode 100644 index 00000000..84468044 --- /dev/null +++ b/demos/time-tracker/protected/App_Data/mysql4-sqlmap.xml @@ -0,0 +1,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>
\ No newline at end of file |