All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.db.ce.CeTaskInputMapper.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "mybatis-3-mapper.dtd">

<mapper namespace="org.sonar.db.ce.CeTaskInputMapper">

  <select id="selectUuidsNotInQueue" resultType="String">
    select d.task_uuid
    from ce_task_input d
    left join ce_queue q on d.task_uuid = q.uuid
    where q.uuid is null
  </select>

  <delete id="deleteByUuids" parameterType="String">
    delete from ce_task_input
    where task_uuid in <foreach collection="uuids" open="(" close=")" item="uuid" separator=",">#{uuid,jdbcType=VARCHAR}</foreach>
  </delete>

</mapper>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy