250x250
Notice
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 |
31 |
Tags
- git
- Exception
- IntelliJ
- Core Java
- error
- 설정
- 문서
- spring
- maven
- oracle
- myBatis
- 오픈소스
- SpringBoot
- JDBC
- Eclipse
- PostgreSQL
- jpa
- Tomcat
- Source
- Python
- ubuntu
- Spring Boot
- STS
- Thymeleaf
- AJAX
- Open Source
- JavaScript
- MSSQL
- MySQL
- Docker
Archives
- Today
- Total
헤르메스 LIFE
[MSSQL] com.microsoft.sqlserver.jdbc.SQLServerException: String or binary data would be truncated. 본문
Exception
[MSSQL] com.microsoft.sqlserver.jdbc.SQLServerException: String or binary data would be truncated.
헤르메스의날개 2020. 12. 23. 15:47728x90
개발환경
MSSQL
Spring
데이터 저장 시 아래와 같은 오류가 발생하였습니다.
com.microsoft.sqlserver.jdbc.SQLServerException: String or binary data would be truncated. |
내용
DataIntegrityViolationException 을 리턴한 내용입니다.
SQLException Error Code 는 8152 입니다.
등록된 문자열의 길이가 테이블 컬럼의 길이보다 클 때 발생하는 오류 입니다.
컬럼 길이를 좀 늘려야 겠네요.. ㅡㅡㅋ
728x90