myBatis spring mapper parameter error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

myBatis spring mapper parameter error

davaasurenx
I using Spring 4.3.4, mybatis-spring-1.3.1.jar and oracle 11g. I wanted to page, sort , filter by parameter. but mapper isn't getting value. 

        <select id="selectAll" resultMap="result" parameterMap="parameters" parameterType="Detail">
SELECT ${sort},#{sort} FROM details
<if test="sort != null">
order by #{sort} asc   --------------------------------------> here is no value
</if>
</select>
Is there other way use milti parameter on mapper?

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Loading...