Ashish,
That is how it works.

-Richard


Ashish Kulkarni wrote:
Hi
I have following definition in my sql-map file

<select id="getINCOTERMSGR" resultClass="xml" parameterClass="java.math.BigDecimal" xmlResultName="INCOTERMSGR"> SELECT M009D as INCOTERMDESCGR FROM pu1012 , cf1009 WHERE PCPORD = #value# and M009KY = '3T1'concat PCINCO
</select>

I run the query as below

List list = sqlMapClient.queryForList("getINCOTERMSGR", new BigDecimal("20"));

I was expecting that list will be filled with Document objects, Inside list is filled String objects.

Is this how it works, or am i doing some thing wrong?


Ashish


Reply via email to