Check if seperate selectTaskByQueryCriteria is needed for MySQL in task.mapping.xml

Description

Check if seperate selectTaskByQueryCriteria is needed for MySQL in task.mapping.xml, since the SQL is identical. Only difference is the parameterType, should be 'org.activiti.engine.impl.TaskQueryImpl' posibilly.

<select id="selectTaskByQueryCriteria" parameterType="org.activiti.engine.impl.TaskQueryImpl" resultMap="taskResultMap">
_ _select distinct T.*
_ _<include refid="selectTaskByQueryCriteriaSql"/>
_ _<if test="orderBy != null">
_ _ _order by ${orderBy}
_ _</if>
_</select>

<select id="selectTaskByQueryCriteria_mysql" parameterType="map" resultMap="taskResultMap">
_ _select distinct T.*
_ _<include refid="selectTaskByQueryCriteriaSql"/>
_ _ <if test="orderBy != null">
_ _ _order by ${orderBy}
_ _</if>
_</select>

Assignee

Frederik Heremans

Reporter

Frederik Heremans

Labels

None

Fix versions

Priority

Major
Configure