當sql配置文件中的元素select/insert/update中,需要使用大于號>和小于號<時,要使用
<![CDATA[
sql語句
]]>
來將sql語句括起來,如:
<select id="test_query" parameterType="hashmap" resultType="hashmap"> from table t where t.f3 <> 1 ]]> |
George World技術改變明天,創新塑造未來! i(at)huadev.com Follow Me: http://t.sina.com.cn/georgeworld |
當sql配置文件中的元素select/insert/update中,需要使用大于號>和小于號<時,要使用
<![CDATA[
sql語句
]]>
來將sql語句括起來,如:
<select id="test_query" parameterType="hashmap" resultType="hashmap"> from table t where t.f3 <> 1 ]]> |