diff options
author | wei <> | 2006-04-14 11:23:56 +0000 |
---|---|---|
committer | wei <> | 2006-04-14 11:23:56 +0000 |
commit | f6a5e7589396854e10e023c25237b47e512ff047 (patch) | |
tree | 2b313bb8b66869235ee06b9cae2af2f7645cf5c9 /tests/unit/SQLMap/sqlite.xml | |
parent | 3d3f8d3832921f99daf8ce1953304763c2e76c62 (diff) |
Adding SQLMap unit tests. Allow sqlmap to use Prado's caching module to cache records.
Diffstat (limited to 'tests/unit/SQLMap/sqlite.xml')
-rw-r--r-- | tests/unit/SQLMap/sqlite.xml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/unit/SQLMap/sqlite.xml b/tests/unit/SQLMap/sqlite.xml new file mode 100644 index 00000000..62ab2aa3 --- /dev/null +++ b/tests/unit/SQLMap/sqlite.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?>
+<sqlMapConfig>
+
+ <properties resource="properties.config"/>
+
+ <settings>
+ <setting useStatementNamespaces="false"/>
+ <setting cacheModelsEnabled="true"/>
+ </settings>
+
+ <!-- ==== Database configuration ========= -->
+ <provider class="TAdodbProvider" >
+ <datasource driver="sqlite" database="sqlite/tests.db" />
+ </provider>
+
+ <typeHandlers>
+ <typeHandler type="bool" dbType="Varchar" callback="OuiNonBool"/>
+ </typeHandlers>
+
+ <sqlMaps>
+ <sqlMap name="Account" resource="maps/sqlite/Account.xml"/>
+ <sqlMap name="DynamicAccount" resource="maps/sqlite/DynamicAccount.xml"/>
+ <sqlMap name="Order" resource="maps/sqlite/Order.xml"/>
+ <sqlMap name="Category" resource="maps/sqlite/Category.xml"/>
+ <sqlMap name="Complex" resource="maps/sqlite/Complex.xml"/>
+ <sqlMap name="LineItem" resource="maps/sqlite/LineItem.xml"/>
+ <sqlMap name="Enumeration" resource="maps/sqlite/Enumeration.xml"/>
+ <sqlMap name="Other" resource="maps/sqlite/Other.xml"/>
+ <sqlMap name="ResultClass" resource="maps/sqlite/ResultClass.xml"/>
+ <sqlMap name="Document" resource="maps/sqlite/Document.xml"/>
+ </sqlMaps>
+</sqlMapConfig>
\ No newline at end of file |