diff options
author | ctrlaltca <> | 2012-11-18 20:26:25 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-11-18 20:26:25 +0000 |
commit | 43233000543984eda49768edde65076fb9c2468c (patch) | |
tree | 48578b1c5485c1f3342796cf7efa024882efd726 /tests/unit/SQLMap/maps/mssql/Enumeration.xml | |
parent | 6dff17fee04f8b8a1f35ec8e9afe65ae32b2684c (diff) |
dropped old tests referring to unexisting components (NOTE: this includes what seems a test suite for an older version of SQLMap)
Diffstat (limited to 'tests/unit/SQLMap/maps/mssql/Enumeration.xml')
-rw-r--r-- | tests/unit/SQLMap/maps/mssql/Enumeration.xml | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/tests/unit/SQLMap/maps/mssql/Enumeration.xml b/tests/unit/SQLMap/maps/mssql/Enumeration.xml deleted file mode 100644 index 938a4266..00000000 --- a/tests/unit/SQLMap/maps/mssql/Enumeration.xml +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?>
-<sqlMap namespace="Enumeration" >
-
- <resultMap id="enumeration-result" class="Enumeration" >
- <result property="Id" column="Enum_ID"/>
- <result property="Day" column="Enum_Day"/>
- <result property="Color" column="Enum_Color"/>
- <result property="Month" column="Enum_Month" nullValue="All"/>
- </resultMap>
-
- <select id="GetEnumerationNullValue"
- parameterClass="Integer"
- resultMap="enumeration-result">
- select
- Enum_ID,
- Enum_Day,
- Enum_Color,
- Enum_Month
- from Enumerations
- where Enum_ID = #value#
- </select>
-
- <select id="GetEnumeration" parameterClass="Integer" resultClass="Enumeration">
- select
- Enum_ID as Id,
- Enum_Day as Day,
- Enum_Color as Color,
- Enum_Month as Month
- from Enumerations
- where Enum_ID = #value#
- </select>
-
- <insert id="InsertEnumViaParameterMap" parameterMap="enum-insert-params" >
- insert into Enumerations
- (Enum_ID, Enum_Day, Enum_Color, Enum_Month)
- values
- (?, ?, ?, ?)
- </insert>
-
- <parameterMap id="enum-insert-params">
- <parameter property="Id" column="Enum_ID" />
- <parameter property="Day" column="Enum_Day"/>
- <parameter property="Color" column="Enum_Color" />
- <parameter property="Month" column="Enum_Month" nullValue="All"/>
- </parameterMap>
-
-</sqlMap>
|