ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From inspiregates <inspirega...@gmail.com>
Subject Does iBATIS support xml parameter class/map similar to resultClass="xml"
Date Mon, 13 Apr 2009 09:13:46 GMT

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.


Mime
View raw message