Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 요구사항정의서
- Request
- CONTINUE
- 톰캣
- https://www.inflearn.com/course/lecture?courseslug=%ea%b9%80%ec%98%81%ed%95%9c%ec%9d%98-%ec%8b%a4%ec%a0%84-%ec%9e%90%eb%b0%94-%ea%b8%b0%eb%b3%b8%ed%8e%b8&unitid=194711
- Forwarding
- webserver #WAS #ServerApp
- Spring MVC
- 화면정의서
- GET방식
- https://www.inflearn.com/course/lecture?courseslug=%ea%b9%80%ec%98%81%ed%95%9c%ec%9d%98-%ec%8b%a4%ec%a0%84-%ec%9e%90%eb%b0%94-%ea%b8%b0%eb%b3%b8%ed%8e%b8&unitid=194709&category=questiondetail&tab=community&q=1314387
- POST방식
- sendRedirect
- 매핑 #
- xml
- https://www.inflearn.com/course/lecture?courseslug=%ea%b9%80%ec%98%81%ed%95%9c%ec%9d%98-%ec%8b%a4%ec%a0%84-%ec%9e%90%eb%b0%94-%ea%b8%b0%eb%b3%b8%ed%8e%b8&unitid=194690
- 피그마
- Dispatcher
- while문
- Servlet
- 다형성 #부모타입 #자식타입
- 김영한
- Break
- JSON형식의 response
- 한글깨짐
- WAS
Archives
- Today
- Total
Step it up now
xml 과 오라클 - update 단위테스트 본문
xml 파일의 update 부분 제대로 됐을까?
단위테스트 하기
<update id="commentUpdate" parameterType="map">
UPDATE board230527_comment
SET b_writer = #{b_writer},
b_comment = #{b_comment},
bc_date=to_char(sysdate, 'YYYY-MM-DD HH:MI:SS')
WHERE bc_no =#{bc_no}
</update>
토드에서 쿼리문 긁어와서 데이터 입력한다
select * from board230527_comment where bc_no=2;
UPDATE board230527_comment
SET bc_writer = '강감찬',
bc_comment = '댓글 수정',
bc_date=to_char(sysdate, 'YYYY-MM-DD HH:MI:SS')
WHERE bc_no =2;

추가된 것이 확인 되었다
'수업 > Spring' 카테고리의 다른 글
| 첨부파일 등록 (0) | 2024.01.26 |
|---|---|
| Spring MVC의 요청 처리 과정(DispatcherServlet 중심) (1) | 2024.01.08 |
| noticeList.jsp (0) | 2024.01.08 |
| AOP (0) | 2024.01.05 |
| insert 흐름 이해하기 (1) | 2023.12.27 |