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/mssql.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/mssql.xml')
-rw-r--r-- | tests/unit/SQLMap/mssql.xml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/unit/SQLMap/mssql.xml b/tests/unit/SQLMap/mssql.xml new file mode 100644 index 00000000..eae030b0 --- /dev/null +++ b/tests/unit/SQLMap/mssql.xml @@ -0,0 +1,33 @@ +<?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" >
+ <!-- connection string set in common.php -->
+ <datasource />
+ </provider>
+
+ <typeHandlers>
+ <typeHandler type="bool" dbType="Varchar" callback="OuiNonBool"/>
+ </typeHandlers>
+
+ <sqlMaps>
+ <sqlMap name="Account" resource="maps/mssql/Account.xml"/>
+ <sqlMap name="DynamicAccount" resource="maps/mssql/DynamicAccount.xml"/>
+ <sqlMap name="Order" resource="maps/mssql/Order.xml"/>
+ <sqlMap name="Category" resource="maps/mssql/Category.xml"/>
+ <sqlMap name="Complex" resource="maps/mssql/Complex.xml"/>
+ <sqlMap name="LineItem" resource="maps/mssql/LineItem.xml"/>
+ <sqlMap name="Enumeration" resource="maps/mssql/Enumeration.xml"/>
+ <sqlMap name="Other" resource="maps/mssql/Other.xml"/>
+ <sqlMap name="ResultClass" resource="maps/mssql/ResultClass.xml"/>
+ <sqlMap name="Document" resource="maps/mssql/Document.xml"/>
+ </sqlMaps>
+</sqlMapConfig>
\ No newline at end of file |