기록

*47일차 (jdbc properties 예외처리) 본문

학원/강의

*47일차 (jdbc properties 예외처리)

pringspring 2022. 4. 1. 09:39

@Properties

  • <K,V> string string
  • 설정 정보 관리하는데 최적화

 

*설정정보_1

resources 폴더 생성 - datasource.properties 파일 생성

 

 

 

*설정정보_2(쿼리)

resources 폴더 - member-query.properties 파일 생성

정상작동

 

 

 

@예외처리

: 중첩예외

예외클래스 생성

 

 

 

 

→controller가 제일 중요

'학원 > 강의' 카테고리의 다른 글

*49일차 - ncs테스트(SQL응용)  (0) 2022.04.05
*48일차 (html - 1.text / 2.list)  (0) 2022.04.04
*45일차 (jdbc)  (0) 2022.03.30
*44일차 (2) - 트리거(trigger)  (0) 2022.03.30
*44일차(DATABASE OBJECT2 / cursor)  (0) 2022.03.30