mybatis / old-google-code-issues

Automatically exported from code.google.com/p/mybatis
2 stars 4 forks source link

select clause return XML document #336

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the MyBatis are you using?
mybatis-3.0.4

Please describe the problem.  Unit tests are best!
as far as I know in ibatis2 , there was a function that select clause can 
directly return XML document. configuration like below
resultClass='xml' xmlResultName='XXX'
but i can not use this function in mybatis3.
it already removed or use it in another way ?

What is the expected output? What do you see instead?
directly return a xml document .

Please provide any additional information below.

it was better to return empty note if column value was null.

Original issue reported on code.google.com by hasiw...@sohu.com on 30 May 2011 at 3:53

GoogleCodeExporter commented 9 years ago

Original comment by eduardo.macarron on 5 Feb 2012 at 1:54

GoogleCodeExporter commented 9 years ago

Original comment by eduardo.macarron on 5 Feb 2012 at 1:55

GoogleCodeExporter commented 9 years ago
Yes, that is not implemented in MyBatis. You should get an String and parse it 
outside MyBatis.

Original comment by eduardo.macarron on 5 Feb 2012 at 3:51