[MyBatis] org.postgresql.util.PSQLException: The column index is out of range: 해결방법
/* updateUser */ UPDATE tb_user_info SET user_name = #{userName} /* , email=#{email} */ , upd_dt= NOW() , upd_id= #{sUserId} WHERE user_seq= CAST(#{userSeq} AS INTEGER) Mybatis XML에다가 작성을 하고 쿼리를 수행하면 mybatis는 예약어인 모든 #{}에 바인딩을 시도하는데 주석까지 세는데 바인딩 할 수있는 #{}수가 부족해서 생기는 오류라고 합니다. 더보기 org.postgresql.util.PSQLException: The column index is out of range: 4, number of columns: 3. at org.postgresql.core...
2022.10.28