최프 - 210220토 수업

갓김치·2021년 2월 20일
0

최종프로젝트

목록 보기
16/19

오전

ip port 열렸나 확인 해봐라

  • 제어판 - 프로그램 - 프로그램 및 기능 - Windows 기능 켜기/끄기
  • 설치가 자동으로 됨
  • cmd창 열고 telnet ip주소 포트번호 입력

Data Source Explorer

1. db 연결




Could not connect to anyapartOracle.
Error creating SQL Model Connection connection to anyapartOracle. (Error: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
 )
Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
 
Error creating JDBC Connection connection to anyapartOracle. (Error: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
 )
Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
  • 오류나면 만든 db 커넥션에 우클릭 properties - driver properties 에 Database Instance를

2. .xml 파일로 테스트

  • .xml 파일 우클릭 - open with - mapper editor
  • <include refid="searchFrag"> 는 적용 안 됨
  • 기본 select 문 테스트할때 Set Param 후 Query Test
  • Query Result 탭에서 결과 확인 가능

일정

  • 다음주에 테스트 시연

log4j2.xml

  • sysout 말고 file로 저장되도록 해봐라
  • daily로 남길 수 있고, 특정 size 넘어가면 백업도 만들 수 있음
  • 검색 키워드: log4j2 file appender , log4j2 daily file

기타 조언

  • 포폴에 들어갈 것을 연습하는것도 있지만 어떤 기술은 별로라는 것도 깨닫는 계기가 되길...
  • 1. DB 2. 쿼리 3. XML 4. 서비스 5. 컨트롤러 6. 화면구현 7. 단위테스트 순서를 하루에 하나씩....
profile
갈 길이 멀다

0개의 댓글