You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by inspiregates <in...@gmail.com> on 2009/04/13 11:13:46 UTC

Does iBATIS support xml parameter class/map similar to resultClass="xml"

Hi
I would like to use something like:
<select id="queryDeviceUsingXML" parameterClass="xml" resultClass="xml"
xmlResultName="try-xml-as-parameter">
		SELECT * FROM Device 
                WHERE "id"=#identifier#
</select>
provided, the input xml would be something like:
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<device>
<identifier>1</identifier>
<hostname>my-name</hostname>
</device>
I went through the documentation and searched the forum. But in vain.
Is this supported? Is this possible?
Your help is appreciated.
-- 
View this message in context: http://www.nabble.com/Does-iBATIS-support-xml-parameter-class-map-similar-to-resultClass%3D%22xml%22-tp23019806p23019806.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.