ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Kulkarni <kulkarni_ash1...@yahoo.com>
Subject XML document output from ibatis
Date Mon, 12 Sep 2005 15:21:37 GMT
Hi
Is it possible to get XML document from ibatis 
I am trying to get a XML document as a resultClass
from ibatis, here is what i am doing
<select id="getPOData" resultClass="xml"
parameterClass="java.math.BigDecimal"
xmlResultName="PO" >
SELECT  A.PCPORD  AS PCPORD
from Pu1012
WHERE A.Pcpord  = #value# 
</select>
String str =
(String)client.queryForObject("getPOData", poNum);

I cannot define resultClass = "org.w3c.dom.Document"

Is it possible to do so

Ashish

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message