본문 바로가기

Altiora Petamus

검색하기
Altiora Petamus
프로필사진 Haril Song

  • 분류 전체보기 (78)
    • Java (10)
      • Spring Framework (8)
    • Python (2)
    • DataBase (1)
    • MyProject (4)
    • 삽질하는 Error들 (5)
    • 1day-1algorithm (50)
    • Programming (1)
    • Tools (2)
      • IntelliJ IDEA (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
  • GitHub
«   2025/05   »
일 월 화 수 목 금 토
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
  • brute force
  • 2981
  • error
  • 최단경로
  • 코딩테스트
  • 문자열
  • 소수
  • 파이썬
  • 2018 KAKAO BLIND RECRUITMENT
  • javascript
  • HTTP
  • API
  • algorithm
  • 탐욕법
  • 백준
  • applicationeventpublisher
  • java
  • 알고리즘
  • 프로그래머스
  • 라이브템플릿
  • Dijkstra
  • codility
  • BFS
  • Python
  • Greedy
  • beandefinitionstoreexception
  • counting elements
  • springboot
  • spring security
  • Spring
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록PostgreSQL (1)

Altiora Petamus

@Lob 을 PostgreSQL에서 사용하고 싶을 때

인메모리로 프로젝트를 만들다가 PostgreSQL 을 적용하게 되었다. Error @Lob은 길이가 긴 데이터 값을 입력받기 위해 사용하지만 실제 입력하게되면 too Long object 같은 에러가 뜨게 된다. 해결방법 PostgreSQL에서는 @Lob 대신 @Column을 사용하여 컬럼을 정의해주면 에러가 해결된다. // @Lob @Column(columnDefinition="TEXT") private String description; Reference https://www.postgresql.org/docs/13/largeobjects.html

삽질하는 Error들 2021. 4. 22. 14:09
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바