summaryrefslogtreecommitdiff
path: root/tests/simple_unit/SqlMap/mysql.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/simple_unit/SqlMap/mysql.xml')
-rw-r--r--tests/simple_unit/SqlMap/mysql.xml24
1 files changed, 10 insertions, 14 deletions
diff --git a/tests/simple_unit/SqlMap/mysql.xml b/tests/simple_unit/SqlMap/mysql.xml
index d6e58b2c..11d6e4bc 100644
--- a/tests/simple_unit/SqlMap/mysql.xml
+++ b/tests/simple_unit/SqlMap/mysql.xml
@@ -1,21 +1,15 @@
<?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>
-
+ <properties>
+ <property name="selectKey" value="select @@IDENTITY as value" />
+ <property name="MyCategoryName" value="'Film'" />
+ <property name="accountName" value="'Joe'" />
+ </properties>
+
<typeHandlers>
- <typeHandler type="bool" dbType="Varchar" callback="OuiNonBool"/>
+ <typeHandler dbType="Varchar" class="OuiNonBool"/>
+ <typeHandler dbType="date" class="TDateTimeHandler" />
</typeHandlers>
<sqlMaps>
@@ -29,5 +23,7 @@
<sqlMap name="Other" resource="maps/MySql/Other.xml"/>
<sqlMap name="ResultClass" resource="maps/MySql/ResultClass.xml"/>
<sqlMap name="Document" resource="maps/MySql/Document.xml"/>
+ <sqlMap resource="maps/MySql/ActiveRecord.xml"/>
</sqlMaps>
+
</sqlMapConfig> \ No newline at end of file