728x90
<if test='userId == "Lee"'> (O)
<if test="userId == 'Lee'"> (X)
<if test="'Lee'.equals(userId)"> (O)
<if test='userId.equals("Lee")'> (O)
<if test="userId.equals('Lee')"> (X)
<if test="userId == 'Lee'.toString()> (O)
<if test="userId eq 'Lee'.toString()> (O)
<if test="userId.equalsIgnoreCase('Lee')"> (O)
<if test='userId.equalsIgnoreCase("Lee")'> (X)
<if test='"Lee".equalsIgnoreCase(userId)'> (O)
<if test="'Lee'.equalsIgnoreCase(userId)"> (X)
<if test="userId not in {null, ''}"> (O)
'개발 > DB' 카테고리의 다른 글
MariaDB 여러 row를 한줄로 출력 (0) | 2023.04.24 |
---|---|
Mybatis 비교연산자 부등호 처리 (0) | 2023.04.24 |
mySql mariaDB 컬럼 삭제 drop (0) | 2023.04.20 |
mariadb Query cache 쿼리 캐시 (0) | 2023.04.20 |
mariadb DB table lock 확인 해제 (1) | 2023.04.20 |