cancel
Showing results for 
Search instead for 
Did you mean: 

PostgreSQL-specific SQL configuration

lichtin
Champ in-the-making
Champ in-the-making
For selectCommentsByProcessInstanceId_postgres the type is set as BINARY. Is this required or a typo?

<select id="selectCommentsByProcessInstanceId" parameterType="string" resultMap="commentResultMap">
    select *
    from ACT_HI_COMMENT
    where PROC_INST_ID_ = #{processInstanceId,jdbcType=VARCHAR}
    order by TIME_ desc
  </select>

  <select id="selectCommentsByProcessInstanceId_postgres" parameterType="string" resultMap="commentResultMap_postgres">
    select *
    from ACT_HI_COMMENT
    where PROC_INST_ID_ = #{processInstanceId,jdbcType=BINARY}
    order by TIME_ desc
  </select>
1 REPLY 1

trademak
Star Contributor
Star Contributor
Hmm strange, yes I think it's a typo.

Best regards,