본문 바로가기 메뉴 바로가기

해봤어?

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

해봤어?

검색하기 폼
  • 분류 전체보기 (29)
    • 기타 (4)
    • spring (14)
    • mysql (1)
    • jpa (4)
    • 내생각 (3)
    • 참고자료 (0)
    • 회고 (0)
  • 방명록

JPA (1)
JPA Attribute Converter 활용

Attribute Converter 란?A class that implements this interface can be used to convert entity attribute state into database column representation and back again이 인터페이스를 구현하는 클래스는 엔티티 속성 상태를 데이터베이스 열 표현으로 변환하고 다시 변환하는 데 사용할 수 있습니다.즉, 엔티티에서의 Boolean 값이 데이터베이스에서는 0과 1로 이루어진 Int 값으로 표현되어야 할 경우 사용할 수 있습니다. 프로젝트에 도입한 이유현재 프로젝트에서 Music Entity에 SuperGenres 와 SubGenres 가 있습니다.@Getter@Entity@NoArgsConstructo..

내생각 2023. 9. 18. 03:12
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • entity 검증
  • Attribute Converter
  • 구글 OpenID
  • 유저 시나리오
  • java 17
  • FormProperty
  • HandlesTypes
  • @FormProperty
  • JPA SQL Injection
  • BasicBinder
  • CreatedDate
  • defer-datasource-initialization
  • dto 검증
  • 레이어드 아키텍처
  • User Scenario
  • feignClient
  • CreationTimestamp
  • ValidateException
  • DispatcherServletInitializer
  • 구글 소셜로그인
  • @Converter
  • ServletContainerInitializer
  • WebFlux 의존성
  • org.springframework:spring-webflux
  • setDateFormat
  • HTTPInterface
  • 유저 스토리
  • Spring Boot 3
  • dto 위치
  • @ElementCollection
more
«   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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바