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 |
Tags
- Python
- Eclipse
- Core Java
- JavaScript
- 오픈소스
- myBatis
- PostgreSQL
- oracle
- JDBC
- Thymeleaf
- Tomcat
- Docker
- error
- IntelliJ
- Source
- MySQL
- jpa
- Exception
- spring
- STS
- 문서
- AJAX
- ubuntu
- Spring Boot
- 설정
- MSSQL
- SpringBoot
- Open Source
- git
- maven
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