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