summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/App_Data/mysql4-sqlmap.xml
diff options
context:
space:
mode:
authorwei <>2006-07-28 12:32:01 +0000
committerwei <>2006-07-28 12:32:01 +0000
commit623447ffea7a49359c773a0bc3a851397885f319 (patch)
tree93676acdeea5697dd00fb10d0eb70948901b549e /demos/time-tracker/protected/App_Data/mysql4-sqlmap.xml
parentfbf05a159bc1a688940c16dc304eaaf140188b01 (diff)
Add sqlite support for time-tracker.
Diffstat (limited to 'demos/time-tracker/protected/App_Data/mysql4-sqlmap.xml')
-rw-r--r--demos/time-tracker/protected/App_Data/mysql4-sqlmap.xml29
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