분류 전체보기

Validation 종류
https://beanvalidation.org/ Jakarta Bean Validation - Home Jakarta Bean Validation is a Java specification which lets you express constraints on object models via annotations lets you write custom constraints in an extensible way provides the APIs to validate objects and object graphs provides the APIs to validate beanvalidation.org

JpaRepository 검색 메서드
https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#jpa.query-methods.query-creation Spring Data JPA - Reference Documentation Example 121. Using @Transactional at query methods @Transactional(readOnly = true) interface UserRepository extends JpaRepository { List findByLastname(String lastname); @Modifying @Transactional @Query("delete from User u where u.active = false") void de..
@MappedSuperclass
@MappedSuperclass @CreateDate(updatable = false) //업데이트 실패 @LastModifyedDate json을 사용해서 ObjectMapping때 직렬화 과정에서 기본생성자를 사용한다.