[링크][영어] db의 timestamp를 Entity에 매핑하는 방법
프로그래밍/스크랩2021. 4. 18. 15:28
제가 볼 때는 LocalDateTime을 이용하는게 좋아보이네요.
vladmihalcea.com/date-timestamp-jpa-hibernate/
How to map Date and Timestamp with JPA and Hibernate - Vlad Mihalcea
Learn the best way to map Date, Timestamp, or DateTime column types when using JPA and Hibernate using Date, LocalDate, and LocalDateTime.
vladmihalcea.com
댓글 영역