전체 글 (79) 썸네일형 리스트형 [유머/생활] 15) 흔한 신혼부부의 애정표현사진 스프링 데이터 JPA #부록 부록 부록 A : 네임 스페이스 참조 요소 The element triggers the setup of the Spring Data repository infrastructure. The most important attribute is base-package, which defines the package to scan for Spring Data repository interfaces. See “XML configuration”. The following table describes the attributes of the element: Table 6. Attributes Name Description base-package Defines the package to be scanned for repo.. 스프링 데이터 JPA #Reference:트랜잭션 5.7. 거래 성 기본적으로 저장소 인스턴스의 CRUD 메소드는 트랜잭션입니다. 읽기 조작의 경우 트랜잭션 구성 readOnly플래그가로 설정됩니다 true. 다른 모든 @Transactional트랜잭션은 기본 트랜잭션 구성이 적용되도록 일반 으로 구성됩니다. 자세한 내용은 JavaDoc of를 참조하십시오 SimpleJpaRepository. 저장소에 선언 된 메소드 중 하나에 대한 트랜잭션 구성을 조정해야하는 경우 다음과 같이 저장소 인터페이스에서 메소드를 다시 선언하십시오. 예 106. CRUD에 대한 사용자 정의 트랜잭션 구성 public interface UserRepository extends CrudRepository { @Override @Transactional(timeout = 10) .. 이전 1 ··· 9 10 11 12 13 14 15 ··· 27 다음