mybatis 환경에서
<if> 문안에 String 값 비교할때 주로 나오는 에러인데요
<if test="stringValue == 'Y'" />
일 경우
<if test 'stringValue =="Y"' /> 로 바꿔주시면 됩니다
홑 따옴표와 쌍 따옴표 위치가 바뀌었어요
http://t-ara72.blogspot.com/2013/10/mybatis-numberformatexception.html
http://t-ara72.blogspot.com/2013/10/mybatis-numberformatexception.html
http://t-ara72.blogspot.com/2013/10/mybatis-numberformatexception.html
'spring' 카테고리의 다른 글
[Spring Boot]Spring Boot 에서 외부 library 추가하고 spring-boot-maven-plugin 로 Build 하기 (2) | 2019.04.10 |
---|---|
[Spring] Spring quartz 와 @Autowired (2) | 2019.03.11 |
[Spring] Spring boot job chain 예제 (0) | 2019.03.11 |
[Mybatis] 다중 업데이트문 (0) | 2019.01.07 |
[Spring boot] Spring boot application.xml 설정값 (0) | 2018.12.24 |