skip to Main Content

Mysql – MyBatis xml update query using set tag throws org.springframework.jdbc.BadSqlGrammarException

Built update query in MyBatis xml but no luck to pass BadSqlGrammarException Here's my query <update id="updateRecordingVideoStatus"> UPDATE game_record_metadata <set> <if test="modifiedVideoStatus = null"> status = #{originalVideoStatus} </if> <if test="modifiedVideoStatus != null"> status = #{modifiedVideoStatus} </if> </set> WHERE id =…

VIEW QUESTION
Back To Top
Search