a.uuid as "uuid", a.user_uuid as "userUuid", a.user_login as "userLogin", a.user_triggered as "userTriggered", a.category as "category", a.operation as "operation", a.new_value as "newValue", a.created_at as "createdAt" uuid, user_uuid, user_login, user_triggered, category, operation, new_value, created_at INSERT INTO audits ( uuid, user_uuid, user_login, user_triggered, category, operation, new_value, created_at ) VALUES ( #{dto.uuid, jdbcType=VARCHAR}, #{dto.userUuid, jdbcType=VARCHAR}, #{dto.userLogin, jdbcType=VARCHAR}, #{dto.userTriggered, jdbcType=BOOLEAN}, #{dto.category, jdbcType=VARCHAR}, #{dto.operation, jdbcType=VARCHAR}, #{dto.newValue, jdbcType=VARCHAR}, #{dto.createdAt, jdbcType=BIGINT} ) delete from audits where uuid in #{uuid,jdbcType=VARCHAR}