On 3/10/08 8:25 PM, "" <> wrote: > Thank you all again for your suggestions. > > One of the use cases of mine is to create an XML in the end. I don't have an > object serve as a middle stage to use with Rowhandler (in RowHandler's term, I > need to map the valueObject to something, right?).
No - like I said before, you can use a java.util.Map as a result map. The column name is the key and the current resultant row's value is the value. > I also did read some post > posted by someone a couple of years ago. I didn't think that fits my needs. I seem to remember a while back this came up. And I think it was suggested that xstream was a good solution. It would require that you build a Java object model that looks like your xml so that you could map the results of your sql into the object model and then send it to xstream. Cheers, Chris
