How can I retrieve 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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.