패키지 구성은 다음을 참고해주세요. https://juzdalua.tistory.com/102 Java) JpaRepository - MySQL 데이터 가져오기 먼저 세팅이다. 프로젝트를 만들 때 디펜던시는 다음과 같다. 실제 코드에서의 디펜던시이다. // build.gradle ... dependencies { implementation 'org.springframework.boot:spring-boot-starter-web' testImplementation 'org.spring juzdalua.tistory.com 유저테이블에 유저를 신규 생성하는 과정에서 트랜잭션 과정 중 에러가 나면 롤백을 할 수 있는지 테스트를 해보았다. 1. 올바른 데이터의 유저를 저장한다. 2. 잘못된 데이터의 유저를 저장..