summaryrefslogtreecommitdiff
path: root/tests/unit/Data/SqlMap/DynamicParameterTestMap.xml
diff options
context:
space:
mode:
authorgodzilla80@gmx.net <>2010-02-20 09:18:40 +0000
committergodzilla80@gmx.net <>2010-02-20 09:18:40 +0000
commita1d65f3737980658e9a5dd12165860e35e435941 (patch)
treec9b3afc8d9ba9708e1cb16741d422ece27827753 /tests/unit/Data/SqlMap/DynamicParameterTestMap.xml
parentc625202466d9677f4005905f73b00c2941e1f6da (diff)
Fixed Issue 209 - SqlMap doesn't escape inline params properly
Diffstat (limited to 'tests/unit/Data/SqlMap/DynamicParameterTestMap.xml')
-rw-r--r--tests/unit/Data/SqlMap/DynamicParameterTestMap.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit/Data/SqlMap/DynamicParameterTestMap.xml b/tests/unit/Data/SqlMap/DynamicParameterTestMap.xml
index 65a91154..29670578 100644
--- a/tests/unit/Data/SqlMap/DynamicParameterTestMap.xml
+++ b/tests/unit/Data/SqlMap/DynamicParameterTestMap.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<sqlMap namespace="DynamicParameterTestMap">
+
<select id="SelectStaticSql1" resultClass="string">
<![CDATA[
SELECT `teststring` FROM `dynamicparametertest1` WHERE `testname`="staticsql"
@@ -30,4 +31,9 @@
]]>
</select>
+ <select id="SelectInlineEscapeParam" parameterClass="string" resultClass="string">
+ <![CDATA[
+ SELECT $value$
+ ]]>
+ </select>
</sqlMap> \ No newline at end of file