묻고 답해요
141만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
주문 등록 파라미에 대해서 질문드립니다.
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]상품 주문시에만 파라미터를 @requestParam으로 받으셨는데 특별한 이유가 있는지 궁금합니다.
-
미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - NFT
사이트 문제 및 ipfs 링크 받을 떄 문제해결
docs 링크가 바뀜 https://docs.klaytn.foundation/content/dapp/sdk/caver-js/v1.4.1/api-references/caver.klay/transaction/sendtx_smart_contract_executionhttps://ipfs.infura.io/ipfs/"+ hash 값 넣는 부분에 "https://ipfs.infura.io/ipfs/" 대신에 앞에서 만든 자신의 infura api 링크를 같이 넣어줘야함 예시 "https://님이만든거이름.infura-ipfs.io/ipfs/"그럼 잘됨
-
미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - NFT
ipfs.infura.io 문제 해결
문제 : ipfs.infura.io를 사용할 경우 post timeout이 발생함 다른것도 ipfs.io 로 갈아 끼워서 해봐도 안됨 빠른포기 해결방법 :1. 검색 2. infura.io 공용 오픈api? 가 만료된것을 알아냄 3. 회원가입한다 4. 개인 ipfs용 apikey를 생성한다. 5. API key 값과 API Key Secret 값을 확인한다. 6. 아래의 코드가 infura api 사용하는 방식이다 강의에 나온것에서 headers 부분만 추가해주면 된다 그리고 그곳에 auth 값이 필요한것이다.const projectId = 'API key'; const projectSecret = 'API Key Secret '; const auth = 'Basic' + Buffer.from(projectId + ':' + projectSecret).toString('base64'); const client = ipfsClient.create({ host: 'ipfs.infura.io', port: 5001, protocol: 'https', headers: { authorization: auth, }, });해당 강의에서는 node에서 작업을 하기때문에 node_modules에 포함되어있는 Buffer 함수가 정상 동작 하지만 일반 비 node 로컬 환경에서 개발할경우 별도로 노드 js 파일을 만들어서 auth 값만 뽑아낸다음에 하드코딩으로 갈겨넣어도 정상동작한다. 그렇게 넣고나서 강의를 따라 실행하고 infura 사이트에 로그인한뒤 자신의 ipfs 목록을 보면 alert 창에 적힌 저 Qm..............어쩌고저쩌고의 값이 잘 올라와있는것을 확인할수 있을것이다. 예전에 삽질한 흔적들이 남아있는 커뮤니티다 . 해결책은 안적었지만 공식 커뮤니티이니 돌아다니다보면 또 주워 얻는게 있는듯하다. https://community.infura.io/t/how-can-i-get-ipfs-url-image-by-dedicated-gateway/5759
-
미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - NFT
파일검색 문제 해결
setting.json 파일을 변경해도 되지 않을경우 1. git ignore에 node_modules가 적혀있으면 검색이 안되는것을 확인 2. git_ignore에 에서 node_modules를 주석처리 한다 3. 컨트롤 p를 누르고 ERC721FULL을 작성한뒤 엔터를 갈긴다 4. 잘된다.
-
해결됨실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
스프링부트 버전에 따른 SQL 문이 다른 점 (Alias 유무)
안녕하세요, 스프링부트 3.1로 강의를 듣고 있는 학생입니다.3.1.0 버전에서는 Select 쿼리를 생성할 때 별칭(alias) 없이 생성되었는데JPA hibernate 버전 차이가 원인인 것인가요?문서를 찾아보려고 해도 어떻게 찾아야 할지 감이 오지 않아서 질문드립니다.아래는 MemberServiceTest 회원가입 test 의 로그입니다.3.1.02023-06-13T22:26:00.567+09:00 DEBUG 64058 --- [ Test worker] org.hibernate.SQL : select m1_0.member_id, m1_0.city, m1_0.street, m1_0.zipcode, m1_0.name from member m1_0 where m1_0.name=? 2023-06-13T22:26:00.571+09:00 DEBUG 64058 --- [ Test worker] org.hibernate.SQL : select next value for member_seq2.4.12023-06-13 22:23:43.684 DEBUG 63945 --- [ Test worker] org.hibernate.SQL : select member0_.member_id as member_i1_0_, member0_.city as city2_0_, member0_.street as street3_0_, member0_.zipcode as zipcode4_0_, member0_.name as name5_0_ from member member0_ where member0_.name=? 2023-06-13 22:23:43.691 DEBUG 63945 --- [ Test worker] org.hibernate.SQL : call next value for hibernate_sequence아래는 각 로그가 출력할 때 사용한 파일입니다.2.4 버전https://drive.google.com/file/d/1BhS1ZjixkOKzQxrEaSLGu0o6tWGhRLr_/view?usp=sharing3.1 버전https://drive.google.com/file/d/1SN6W0iq6X2ALHPNJDUgXuG-ep3-D4UyU/view?usp=sharing
-
해결됨실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
setter 대신 Builder를 사용하여 구성했는데 꼬임에 대해서
setter 사용을 지양하기 위해setter를 사용하지 않고 Builder 패턴으로 구현하여 코드를 작성하던중 OrderService의 order() 메서드를 테스트 하는데 NullPointerException이 발생했습니다.어디서부터 꼬인지를 모르겠어서어디부터 물어봐야할지를 모르겠네요...그래서 이후 강의에서는 setter를 사용하지않고 정석대로 생성자를 이용하는 방식을 사용하는 강의가 있는지 궁금합니다.
-
해결됨실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
회원, 주문 엔티티
질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예)[질문 내용]현재 JPA에 대해 공부하고 있는 학생입니다!!강의를 듣다 궁금한 것이 생겨 질문합니다!!강의에서 Member 테이블과 Order테이블이 다대일 양방향관계로 만들었습니다. 양방향으로 만들었기 때문에 member에서 order을 참조하여 해당 member가 order들을 찾을 수 있는데(member.getOrder()), 수업 자료에 "실무에서는 회원이 주문을 참조하지 않고, 주문이 회원을 참조하는 것으로 충분 하다."라는 말이 있어서 궁금증이 생겼습니다.실무에서는 해당 테이블들을 다대일 단방향으로 연관관계를 매핑한다는 것인데, 그러면 member가 자신이 주문한 것들을 찾고싶을땐 어떤 방식으로 찾나요?
-
미해결따라하며 배우는 리액트, 파이어베이스 - 채팅 어플리케이션 만들기[2023.12 리뉴얼]
DB와 강의 리뉴얼
먼저 좋은 강의 감사합니다!Firestore 대신에 Realtime DB를 사용하신 이유가 궁금합니다 강의 리뉴얼은 언제쯤 마무리 될지, 아예 v9으로 다시 만드시는 것인지 여쭙고 싶습니다.감사합니다.좋은 하루 보내세요 : )
-
미해결프로젝트로 배우는 Vue.js 3
24강에서 computed의 종속성이 변경도록 return하는데, 그러면 computed가 다시 실행되나요?
24강 검색기능 추가의 filteredTodos에서const filteredTodos = computed(() => { if (searchText.value) { return todos.value.filter(todo => { return todo.subject.includes(searchText.value); }); } return todos.value; });제가 알기로 computed는 반응형 종속성 변수가 변경될때마다 실행되는것으로 이해했습니다.그러면 여기서 반응형 종속성 변수는 todos와 searchText인데return에서 todos의 value가 변경되므로, computed가 총 두번실행되는 것인가요?1.searchText 변경을감지하고 computed 실행2.return 에서 todos.value를 변경3.todos의 변경을 감지하고 computed 재실행4.searchText와 todos모두 변경되지 않아 computed종료
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
insert 쿼리는 로깅이 되지 않습니다. (수정 -> 원인 파악 완료)
[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예)[질문 내용]질문 수정테스트 코드에 @Rollback(value = false) 어노테이션을 넣고 실행했더니 INSERT 쿼리도 로깅되는 것을 확인했습니다!!생각해 보니, 롤백이 되지 않으면 그때 한 번에 쿼리를 보내는 것이 자연스러운 것 같네요..! 롤백될 쿼리까지 로그에 남으면 개발자 입장에서 원인을 파악하기 더 힘들 것 같고요.원래 롤백이 되는 쿼리는 로깅이 안 되는 것이 정상인 거겠죠?? 기존 질문위 사진과 같이 create table 쿼리는 로깅이 잘 되지만, insert 쿼리는 로깅이 되지 않습니다!이유가 무엇인지 알 수 있을까요??관련 코드 및 로그 첨부하겠습니다.application.yml 설정spring: datasource: url: jdbc:h2:tcp://localhost/~/Programming/h2/jpashop username: sa password: driver-class-name: org.h2.Driver jpa: hibernate: ddl-auto: create properties: hibernate: show_sql: true format_sql: true logging: level: org.hibernate.sql: debug 실행한 테스트 코드@Test @Transactional void testMember() { // given final Member member = new Member(); member.setUsername("memberA"); // when final Long savedId = memberRepository.save(member); final Member findMember = memberRepository.find(savedId); // then assertThat(findMember.getId()).isEqualTo(member.getId()); assertThat(findMember.getUsername()).isEqualTo(member.getUsername()); assertThat(findMember).isEqualTo(member); }로그(원인을 파악하여, 글이 길어지지 않기 위해 로그는 첨부하지 않겠습니다.)
-
미해결따라하며 배우는 리액트 테스트 [2023.11 업데이트]
toHaveTextContent 에러
안녕하세요.'context wrapper 추가로 에러 제거하기' 강의에서 발생한 에러가 해결되지 않아 질문 드립니다.https://www.inflearn.com/questions/736423/tohavetextcontent-%EC%97%90%EC%84%9C-%EC%97%90%EB%9F%AC%EA%B0%80-%EC%9E%90%EA%BE%B8-%EB%82%98%EB%8A%94%EB%8D%B0-%EC%95%84%EB%AC%B4%EB%A6%AC-%EC%B0%BE%EC%95%84%EB%8F%84-%EC%9E%98-%EB%AA%A8%EB%A5%B4%EA%B2%A0%EC%8A%B5%EB%8B%88%EB%8B%A4이 글과 동일한 에러가 계속 발생하는데, 이 질문자분이 답글로 남겨주신 코드로 수정해보아도 해결이 되지 않습니다. 어디서 문제가 발생한 건지 강의를 다시 보고 또 봐도 찾기가 어려워 깃허브 주소 남깁니다. 감사합니다.● update product's total when products change expect(element).toHaveTextContent() Expected element to have text content: 1000 Received: 총 가격: 0 16 | userEvent.clear(americaInput); 17 | userEvent.type(americaInput, "1"); > 18 | expect(productsTotal).toHaveTextContent("1000"); | ^ 19 | }); 20 | at Object.<anonymous> (src/pages/OrderPage/test/calculate.test.js:18:25) https://github.com/daeunleeeee/react-shop-test
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 쇼핑몰 사이트 만들기[전체 리뉴얼]
localhost 연결 거부 ㅠㅠ
수업을 잘 따라갔는데 localhost를 연결할 수 없다고 계속 떠요ㅠㅠ 이유가 뭘까요ㅠ
-
미해결프로젝트로 배우는 Vue.js 3
구조가 다름...
예전 강의라 그런지 구조도 다르고 레퍼런스도 달라서 따라가기가 어렵습니다..강의에서는 package.json에 scripts도 vue-cli 기반으로 돼있는데 전 이렇게 되어있고. 강의와 똑같이 해서 npm run serve해도 이런 오류만 나옵니다 .이 강의는 이미 만들어진 소스에서 추가하는 식인가요? 섹션0까지만 들어서 그런지 처음 만들때와 구조가 달라서 불친절하다는 생각이 드네요,,
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
Assertions.assertThat()이 안됩니다.
=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예)[질문 내용]강의와 똑같이 작성했습니다.assertThat이 안되고 junit assert 임포트도 안먹히는 거 같은데 어떻게 해결하나요?그래들리는 이렇습니다.plugins { id 'java' id 'war' id 'org.springframework.boot' version '2.7.13-SNAPSHOT' id 'io.spring.dependency-management' version '1.0.15.RELEASE' } group = 'jpabook' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' configurations { compileOnly { extendsFrom annotationProcessor } } repositories { mavenCentral() maven { url 'https://repo.spring.io/milestone' } maven { url 'https://repo.spring.io/snapshot' } } dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-devtools' compileOnly 'org.projectlombok:lombok' runtimeOnly 'com.h2database:h2' annotationProcessor 'org.projectlombok:lombok' providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat' testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'junit:junit:4.13.2' testImplementation 'org.assertj:assertj-core' } tasks.named('test') { useJUnitPlatform() } 버전이 높아서 그런거면 버전을 낮게 설정해야하나요?
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 영화 사이트 만들기
컴파일 에러 관련 문의
npm run dev를 작동시킨 후에 boilder-plate 상에서 오류가 발생하고 있습니다. 해당 부분들은 강의를 따라가면서 현재까지 건드린 적이 없는 부분입니다.
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
영속성 컨텍스트 저장(persist())과 커밋의 관계
[질문 템플릿]1. 강의 내용과 관련된 질문인가요? 예2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? 예3. 질문 잘하기 메뉴얼을 읽어보셨나요? 예[질문 내용]안녕하세요!에서 커밋되지 않기 때문에 INSERT문 안나가는건 이해 되는데요. persist()에 의해 영속성 컨텍스트에는 저장이 되어서 SELECT문도 안나가고 그냥 영속성 컨텍스트에서 가져와야 하는거 아닌가 라는 의문이 생겨서요.커밋 직전에 플러시 되면서 디비로 쿼리 나가는 건 알고 있었는데, 혹시 영속성 컨텍스트에 저장되는 것도 커밋이 되어야 일어나는 일인가요??어느 부분을 잘못 생각하고 있는건지 모르겠어요. 답변 부탁드려요!!
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 영화 사이트 만들기
npm run dev 오류
npm run dev 명령어를 실행했을 때 다음과 같은 에러 로그가 생성됩니다.react-boiler-plate@1.0.0 dev> concurrently "npm run backend" "npm run start --prefix client"sh: concurrently: command not found
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
엔티티 클래스 개발2 h2 db 업데이트 오류 및 intellij 자동 종료
엔티티 클래스 개발2 강의 8분까지의 내용을 따라하는 중인데cmd로 db실행해도 db과 최신화 되어있지 않습니다.그리고 intellij에서 메인 클래스 실행하면 강의와 다르게 자동 종료됩니다.해결 방법 문의 드립니다. https://drive.google.com/drive/folders/1UcqCYHfwffTcVLU7QlbHylGEY2djBH9f?usp=sharing
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
로그출력 문제가 발생합니다.
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]여기에 질문 내용을 남겨주세요. MemberRepositoryTest테스트 실행 후 로그 문제가 있습니다. 좌측에 Test Result만 출력됩니다.전체 로그 메시지입니다. > Task :compileJava UP-TO-DATE> Task :processResources> Task :classes> Task :compileTestJava UP-TO-DATE> Task :processTestResources NO-SOURCE> Task :testClasses UP-TO-DATE> Task :test22:41:58.441 [Test worker] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class jpabook.jpashop.MemberRepositoryTest]22:41:58.445 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]22:41:58.448 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]22:41:58.464 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [jpabook.jpashop.MemberRepositoryTest] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]22:41:58.470 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [jpabook.jpashop.MemberRepositoryTest], using SpringBootContextLoader22:41:58.472 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [jpabook.jpashop.MemberRepositoryTest]: class path resource [jpabook/jpashop/MemberRepositoryTest-context.xml] does not exist22:41:58.472 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [jpabook.jpashop.MemberRepositoryTest]: class path resource [jpabook/jpashop/MemberRepositoryTestContext.groovy] does not exist22:41:58.472 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [jpabook.jpashop.MemberRepositoryTest]: no resource found for suffixes {-context.xml, Context.groovy}.22:41:58.472 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [jpabook.jpashop.MemberRepositoryTest]: MemberRepositoryTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.22:41:58.496 [Test worker] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [jpabook.jpashop.MemberRepositoryTest]22:41:58.527 [Test worker] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/Users/mk/Desktop/study/jpashop/build/classes/java/main/jpabook/jpashop/JpashopApplication.class]22:41:58.529 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration jpabook.jpashop.JpashopApplication for test class jpabook.jpashop.MemberRepositoryTest22:41:58.570 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [jpabook.jpashop.MemberRepositoryTest]: using defaults.22:41:58.570 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener]22:41:58.577 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@35293c05, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@620aa4ea, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@2db2dd9d, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@3174cb09, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@4d411036, org.springframework.test.context.support.DirtiesContextTestExecutionListener@7adbd080, org.springframework.test.context.transaction.TransactionalTestExecutionListener@41beb473, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@560513ce, org.springframework.test.context.event.EventPublishingTestExecutionListener@13006998, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@37fbe4a8, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@352c308, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@7d373bcf, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@6d6bc158, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@5dda6f9, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@10027fc9]22:41:58.578 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest]22:41:58.579 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest]22:41:58.579 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest]22:41:58.579 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest]22:41:58.581 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest]22:41:58.581 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest]22:41:58.610 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest]22:41:58.611 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest]22:41:58.612 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest]22:41:58.612 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest]22:41:58.612 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest]22:41:58.612 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest]22:41:58.615 [Test worker] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@2392212b testClass = MemberRepositoryTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@5b43e173 testClass = MemberRepositoryTest, locations = '{}', classes = '{class jpabook.jpashop.JpashopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@2101b44a, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@522a32b1, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@23d1e5d0, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@37ddb69a, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@68ad99fe, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@74c79fa2], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true]], class annotated with @DirtiesContext [false] with mode [null].22:41:58.616 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest]22:41:58.616 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest]. ____ _/\\ / ___'_ __ (_)_ _ \ \ \ \( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \\\/ ___)| |_)| | | | | || (_| | ) ) ) )' |____| .__|_| |_|_| |_\__, | / / / /=========|_|==============|___/=/_/_/_/:: Spring Boot :: (v2.7.12)2023-06-02 22:41:58.797 INFO 36763 --- [ Test worker] jpabook.jpashop.MemberRepositoryTest : Starting MemberRepositoryTest using Java 11.0.16 on gimmaeng-giui-MacBookAir.local with PID 36763 (started by mk in /Users/mk/Desktop/study/jpashop)2023-06-02 22:41:58.798 INFO 36763 --- [ Test worker] jpabook.jpashop.MemberRepositoryTest : No active profile set, falling back to 1 default profile: "default"2023-06-02 22:41:59.085 INFO 36763 --- [ Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.2023-06-02 22:41:59.092 INFO 36763 --- [ Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 2 ms. Found 0 JPA repository interfaces.2023-06-02 22:41:59.367 INFO 36763 --- [ Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]2023-06-02 22:41:59.392 INFO 36763 --- [ Test worker] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.15.Final2023-06-02 22:41:59.478 INFO 36763 --- [ Test worker] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}2023-06-02 22:41:59.493 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@b5d9f1e2023-06-02 22:41:59.493 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@b5d9f1e2023-06-02 22:41:59.494 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@b5d9f1e2023-06-02 22:41:59.494 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@5844a2d12023-06-02 22:41:59.495 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@3b28b7b02023-06-02 22:41:59.495 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@504497fa2023-06-02 22:41:59.496 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@34d9df9f2023-06-02 22:41:59.497 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@34d9df9f2023-06-02 22:41:59.497 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@34d9df9f2023-06-02 22:41:59.497 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@7b91d9f2023-06-02 22:41:59.498 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@7b91d9f2023-06-02 22:41:59.498 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@7b91d9f2023-06-02 22:41:59.498 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@2e3f324e2023-06-02 22:41:59.498 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@2e3f324e2023-06-02 22:41:59.498 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@2e3f324e2023-06-02 22:41:59.499 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@2a1363832023-06-02 22:41:59.499 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@2a1363832023-06-02 22:41:59.499 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@2a1363832023-06-02 22:41:59.499 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@255675812023-06-02 22:41:59.499 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@255675812023-06-02 22:41:59.499 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@255675812023-06-02 22:41:59.500 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@71bb8b342023-06-02 22:41:59.500 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@71bb8b342023-06-02 22:41:59.500 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@71bb8b342023-06-02 22:41:59.500 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@16d417252023-06-02 22:41:59.501 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@16d417252023-06-02 22:41:59.501 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@16d417252023-06-02 22:41:59.501 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@57c699372023-06-02 22:41:59.501 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@57c699372023-06-02 22:41:59.502 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@c4723002023-06-02 22:41:59.502 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@c4723002023-06-02 22:41:59.502 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@2dac2e1b2023-06-02 22:41:59.502 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@2dac2e1b2023-06-02 22:41:59.503 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@33de7f3d2023-06-02 22:41:59.503 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@101312892023-06-02 22:41:59.504 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@10fb45752023-06-02 22:41:59.504 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net.URL -> org.hibernate.type.UrlType@10fb45752023-06-02 22:41:59.505 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@2cc75b252023-06-02 22:41:59.505 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@2cc75b252023-06-02 22:41:59.505 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@119d44432023-06-02 22:41:59.505 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@119d44432023-06-02 22:41:59.506 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@7e0f95282023-06-02 22:41:59.507 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@7e0f95282023-06-02 22:41:59.508 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@7336fd8f2023-06-02 22:41:59.508 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@7336fd8f2023-06-02 22:41:59.509 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@852ef8d2023-06-02 22:41:59.509 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@852ef8d2023-06-02 22:41:59.509 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@147e07342023-06-02 22:41:59.509 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@147e07342023-06-02 22:41:59.510 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@270d50602023-06-02 22:41:59.510 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@270d50602023-06-02 22:41:59.511 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@3a2099182023-06-02 22:41:59.511 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@3a2099182023-06-02 22:41:59.511 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@2f4d01b62023-06-02 22:41:59.511 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@2f4d01b62023-06-02 22:41:59.512 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@beabd6b2023-06-02 22:41:59.512 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@beabd6b2023-06-02 22:41:59.513 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@13ca16bf2023-06-02 22:41:59.513 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@13ca16bf2023-06-02 22:41:59.513 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@13ca16bf2023-06-02 22:41:59.514 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@59d5a6fd2023-06-02 22:41:59.515 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@1e1911502023-06-02 22:41:59.515 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@1e1911502023-06-02 22:41:59.515 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@1e1911502023-06-02 22:41:59.516 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@f18b7382023-06-02 22:41:59.516 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@6fb22ae32023-06-02 22:41:59.517 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@5fd8dd662023-06-02 22:41:59.517 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@5fd8dd662023-06-02 22:41:59.517 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@55c50f522023-06-02 22:41:59.517 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@55c50f522023-06-02 22:41:59.517 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@79f5a6ed2023-06-02 22:41:59.517 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@79f5a6ed2023-06-02 22:41:59.518 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@120350eb2023-06-02 22:41:59.518 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@120350eb2023-06-02 22:41:59.518 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@643ecfef2023-06-02 22:41:59.518 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@643ecfef2023-06-02 22:41:59.518 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@2e45a3572023-06-02 22:41:59.519 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@41a16eb32023-06-02 22:41:59.519 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@41a16eb32023-06-02 22:41:59.519 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@41a16eb32023-06-02 22:41:59.519 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@684372d02023-06-02 22:41:59.519 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@684372d02023-06-02 22:41:59.519 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@684372d02023-06-02 22:41:59.520 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@6060146b2023-06-02 22:41:59.521 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@7a55fb812023-06-02 22:41:59.522 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@7272ee512023-06-02 22:41:59.523 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@7272ee512023-06-02 22:41:59.523 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@7272ee512023-06-02 22:41:59.524 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@762a10b62023-06-02 22:41:59.524 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@762a10b62023-06-02 22:41:59.524 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@762a10b62023-06-02 22:41:59.524 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@3e0a9b1d2023-06-02 22:41:59.524 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@4e3283f62023-06-02 22:41:59.525 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@21516c882023-06-02 22:41:59.525 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@21516c882023-06-02 22:41:59.526 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@65d9e72a2023-06-02 22:41:59.526 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@464aeb092023-06-02 22:41:59.527 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@464aeb092023-06-02 22:41:59.527 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@b7d2d512023-06-02 22:41:59.527 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@b7d2d512023-06-02 22:41:59.528 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@66b0e2072023-06-02 22:41:59.528 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@3ca179432023-06-02 22:41:59.529 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@482a58c72023-06-02 22:41:59.532 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@7b377a532023-06-02 22:41:59.532 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@7b377a532023-06-02 22:41:59.532 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@252147972023-06-02 22:41:59.533 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@4e5c8ef32023-06-02 22:41:59.533 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@60928a612023-06-02 22:41:59.533 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@27358a192023-06-02 22:41:59.533 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@8077c972023-06-02 22:41:59.533 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@228650722023-06-02 22:41:59.533 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@563317c12023-06-02 22:41:59.533 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@5d5d3a5c2023-06-02 22:41:59.560 INFO 36763 --- [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...2023-06-02 22:41:59.627 INFO 36763 --- [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.2023-06-02 22:41:59.644 INFO 36763 --- [ Test worker] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect2023-06-02 22:41:59.664 DEBUG 36763 --- [ Test worker] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@5a48d186] to MetadataBuildingContext [org.hibernate.boot.internal.MetadataBuildingContextRootImpl@521ba38f]2023-06-02 22:41:59.784 DEBUG 36763 --- [ Test worker] o.h.type.spi.TypeConfiguration$Scope : Scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration@5a48d186] to SessionFactoryImpl [org.hibernate.internal.SessionFactoryImpl@2be50bba]2023-06-02 22:41:59.960 DEBUG 36763 --- [ Test worker] org.hibernate.SQL : drop table if exists member CASCADE2023-06-02 22:41:59.962 DEBUG 36763 --- [ Test worker] org.hibernate.SQL : drop sequence if exists hibernate_sequence2023-06-02 22:41:59.964 DEBUG 36763 --- [ Test worker] org.hibernate.SQL : create sequence hibernate_sequence start with 1 increment by 12023-06-02 22:41:59.965 DEBUG 36763 --- [ Test worker] org.hibernate.SQL : create table member (id bigint not null,username varchar(255),primary key (id))2023-06-02 22:41:59.966 INFO 36763 --- [ Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]2023-06-02 22:41:59.971 TRACE 36763 --- [ Test worker] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryCreated from [org.hibernate.internal.SessionFactoryImpl@2be50bba] for TypeConfiguration2023-06-02 22:41:59.972 INFO 36763 --- [ Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'2023-06-02 22:42:00.103 WARN 36763 --- [ Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning2023-06-02 22:42:00.236 INFO 36763 --- [ Test worker] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html]2023-06-02 22:42:00.411 INFO 36763 --- [ Test worker] jpabook.jpashop.MemberRepositoryTest : Started MemberRepositoryTest in 1.775 seconds (JVM running for 2.36)2023-06-02 22:42:00.465 INFO 36763 --- [ Test worker] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@2392212b testClass = MemberRepositoryTest, testInstance = jpabook.jpashop.MemberRepositoryTest@6130a6f5, testMethod = testMember@MemberRepositoryTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@5b43e173 testClass = MemberRepositoryTest, locations = '{}', classes = '{class jpabook.jpashop.JpashopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@2101b44a, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@522a32b1, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@23d1e5d0, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@37ddb69a, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@68ad99fe, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@74c79fa2], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]]; transaction manager [org.springframework.orm.jpa.JpaTransactionManager@47c15468]; rollback [true]2023-06-02 22:42:00.514 DEBUG 36763 --- [ Test worker] org.hibernate.SQL :call next value for hibernate_sequence2023-06-02 22:42:00.561 INFO 36763 --- [ Test worker] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@2392212b testClass = MemberRepositoryTest, testInstance = jpabook.jpashop.MemberRepositoryTest@6130a6f5, testMethod = testMember@MemberRepositoryTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@5b43e173 testClass = MemberRepositoryTest, locations = '{}', classes = '{class jpabook.jpashop.JpashopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@2101b44a, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@522a32b1, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@23d1e5d0, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@37ddb69a, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@68ad99fe, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@74c79fa2], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]]2023-06-02 22:42:00.569 INFO 36763 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'2023-06-02 22:42:00.569 TRACE 36763 --- [ionShutdownHook] o.h.type.spi.TypeConfiguration$Scope : Handling #sessionFactoryClosed from [org.hibernate.internal.SessionFactoryImpl@2be50bba] for TypeConfiguration2023-06-02 22:42:00.569 DEBUG 36763 --- [ionShutdownHook] o.h.type.spi.TypeConfiguration$Scope : Un-scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration$Scope@57b69fa1] from SessionFactory [org.hibernate.internal.SessionFactoryImpl@2be50bba]2023-06-02 22:42:00.570 INFO 36763 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...2023-06-02 22:42:00.577 INFO 36763 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.BUILD SUCCESSFUL in 2s4 actionable tasks: 2 executed, 2 up-to-date10:42:00 PM: Execution finished ':test --tests "jpabook.jpashop.MemberRepositoryTest"'. application.yml 코드입니다.띄어쓰기 잘 적용했는데도 안됩니다 ㅜㅜspringboot는 3버전대도 아니고 2.7.12 입니다 ..혹시나 해서 org.hibernate.orm.jdbc.bind:로 해봤는데도 로그 출력이 잘 안됩니다.
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
안녕하세요
안녕하세요. 주문 - 상품 관계가 다대다라서 주문 - 주문상품 - 상품으로 나뉘는건 이해가되는데주문상품에서 가격이랑 개수를 주문에다가 넣어도 상관없지 않을까요?주문상품은 전 그냥 상품과주문을 이어주는 도메인이라고 생각하기 때문입니다.주문상품의 구체적인 역할과 주문상품에 가격과 개수가 들어가는 이유를 알고 싶습니다.감사합니다