mybatis loops to take the sequence, the same value is used to deal with the problem

It's the same value no matter what

  <select id="getSeq" resultType="Integer" >
  SELECT SEQ_TEST.NEXTVAL FROM DUAL
  </select>

Solution: increase useCache="false" flushCache="true"

Successfully growing sequence after disabling mybatis cache

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326644759&siteId=291194637