Notice
Link
- Today
- Total
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- view 획득
- springboot
- rn
- 피쉬랜드
- reactnative
- DB 계정생성
- 가변영역 스크롤
- SQL 마지막날
- CentOS
- MariaDB
- kill -9
- CSS
- c언어
- sql exception
- 스크롤적용
- Back 키 클릭 감지
- SQL 첫날
- springboot 재가동
- Activity 전체화면
- richedit 색상
- 텍스트컬러
- MySQL
- 터치좌표 view
- MFC
- vc++
- 코드로 서버 재실행
- mybatis exception
- pid 찾아 kill
- 말줌임 CSS
- ffmpeg
Archives
목록mybatis exception (1)
개발은 하는건가..
[mybatis] Sql Exception 처리
Repository 에 다음과 같이 DataAccessException 을 throws 해준다. @Repository @Mapper public interface UserRepository { int insertUser(UserInfoDTO uid) throws DataAccessException; } 아래와 같이 서비스에서 Repository 함수를 호출하면서 Exception 을 catch 하여 처리해준다. @Service @RequiredArgsConstructor public class UserService { private final UserRepository _UserRepo; public int addUser(UserInfoDTO user) { int res = 0; try { user.se..
SpringBoot , Thymeleaf
2023. 9. 12. 16:42