<select id="getXXX" parameterType="java.util.List" resultMap="?">
</select>
In the above select query in my mapper file I need to get the resultMap as a List of Strings. How to implement as default Collection cannot be given directly.
I tried using a plain POJO class with a String variable or a List of String variable but it didnt work out.
If you need to get collection of Integers use the following for example:
If you need to get collection of entities: