2019.08.01
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<select id="searchMember" parameterType="String" resultType="kr.or.ksmart.ksmart_layout1.vo.Member">
SELECT
m_id AS memberId
, m_pw AS memberPw
, m_level AS memberLevel
, m_name AS memberName
, m_email AS memberEmail
FROM tb_member
<if test="sv neq null and sv neq ''.toString()">
WHERE
${sk} LIKE CONCAT('%',#{sv},'%')
</if>
</select>
|
// 오늘의 에러
Mybatis 쿼리문에서 부등호 사용시 나오는 에러
The content of elements must consist of well-formed character data or markup
부등호를 <![CDATA[부등호]]> 형식으로 바꿔줘야한다
▼
'교육 > Spring Boot' 카테고리의 다른 글
#59 Spring Boot log4j 설정 (0) | 2019.08.05 |
---|---|
#58 Spring Boot MyBatis trim (0) | 2019.08.05 |
#54 Spring Boot MyBatis로 MySQL DB 연동 (0) | 2019.08.02 |
#53 Spring springMVC 동작 (0) | 2019.08.01 |
#52 Spring 기초 (0) | 2019.08.01 |