I was able to get the desired results by annotating it as below
@MapKey("userid") (an then change the resultmap's userid property
name to "userid" from "key").
Now I am able to get a HashMap (with all users NOT just 1 record) as
{userdid=(UserObject)}
On Mar 26, 5:06 pm, Eduardo Macarron <
eduardo.macar...@gmail.com>
wrote:
> One hashmap holds one object. So If you want to retrive a list you
> should use this:
>
> List<Map<String, WolcUser>> selectAllUsers();
>