开发者

IBatis + Java: Retrieving HashMap

开发者 https://www.devze.com 2023-01-09 11:06 出处:网络
How can I retriev开发者_如何学JAVAe a HashMap using IBatis. I have a select for two values, and I want to maps this in a key-value map.

How can I retriev开发者_如何学JAVAe a HashMap using IBatis. I have a select for two values, and I want to maps this in a key-value map.

Someone has faced the same problem?

Thanks in advance


See this Question: How to get a sorted result in iBatis?

The user there gets a HashMap but needs a list, hence my answer there.

So you can use the example in that Question description to retrieve a HashMap as he did.

0

精彩评论

暂无评论...
验证码 换一张
取 消