묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결
환불 문의입니다
2253189 주문번호입니다제가 수강한 과목에서 인트로만 들었는데도 8프로가 넘어서 환불을 할 수 없는데이게 맞는건가요?
-
해결됨호돌맨의 요절복통 개발쇼 (SpringBoot, Vue.JS, AWS)
안녕하세요. 호돌맨님. 서비스 정책 로직 위치에 대해 궁금한 점이 있습니다.
좋은 강의 정말 감사드립니다. 강의 수강 도중 서비스 로직 관련 궁금한 점이 있어 문의드리게 되었습니다.제가 DDD 를 공부하면서 알게된 부분이 DDD 에서는 비즈니스 로직을 도메인에 몰아서 작성하라고 했는데 본 강의에서는 절대 서비스 정책을 도메인에 둬서는 안된다고 말씀하신 걸로 알고 있습니다. 호돌맨님께서 말씀하신 서비스 정책을 두지 말라는 조언은 DDD를 적용하지 않았기 때문인지 두지 말라고 하신건지 알고 싶습니다.(서비스 정책 == 비즈니스 로직으로 이해했습니다. 혹시 제가 이해한 부분이 잘못 됐을까요?)감사합니다.
-
해결됨[코드캠프] 부트캠프에서 만든 고농축 프론트엔드 코스
'result' is of type 'unknown'. ts(18046)
강의 화면과 달리 result 타입이 unknown이라고 뜹니다소스를 비교했을 땐 동일한 것 같은데, 어떤 부분이 잘못 된걸까요?
-
미해결
처리되지 않은 예외 발생: 읽기 액세스 위반. ptr은 0xFFFFFFFFFFFFFFFF7이었습니다.
#include <stdio.h> #include <stdlib.h> #define MAX 10 typedef struct Node { int data; struct Node* next; }Node; void init(Node* A); void AddEnd(Node* A, int B); void RemoveEnd(Node* A); void CheckLinkedList(Node A); int main() { Node node; Node* nodeptr = &node; init(nodeptr); AddEnd(nodeptr, 10); AddEnd(nodeptr, 20); AddEnd(nodeptr, 30); AddEnd(nodeptr, 40); AddEnd(nodeptr, 50); AddEnd(nodeptr, 60); CheckLinkedList(node); return 0; } void init(Node* A) { A = NULL; } void AddEnd(Node* A, int B) { Node* ptr = NULL; Node* newNode = (Node*)malloc(sizeof(Node)); newNode->data = B; // 데이터 할당 newNode->next = NULL; // next 포인터 초기화 if (A == NULL) { // empty A = newNode; return; } else { // not empty, 가장 앞에 노드 추가 if (A->data > newNode->data) { newNode->next = A; A = newNode; return; } int i = 0; for (ptr = A; ptr->next; ptr = ptr->next) { if (i >= MAX - 1) { printf("더 추가 할 수 없습니다!\n"); return; } } ptr->next = newNode; // 마지막에 노드 추가 } } void RemoveEnd(Node* A) { Node* ptr = A; if (ptr == NULL) { printf("리스트가 비었습니다!\n"); return; } for (ptr = A; ptr; ptr = ptr->next) { if (ptr->next == NULL) { free(ptr); return; } } } void CheckLinkedList(Node A) { for (Node* ptr = &A; ptr; ptr = ptr->next) { printf("%d\n", ptr->data); } }ptr = A; ptr->next; ptr = ptr->next에서 처리되지 않은 예외 발생: 읽기 액세스 위반.ptr은 0xFFFFFFFFFFFFFFFF7이었습니다. 가 뜹니다.Clion에서는 되던 코드가 vs에서 안돼서 당황스럽습니다 ㅠ
-
미해결자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
UserLoanHistoryRepository 에서 Cannot resolve property 'isReturn' 경고
package com.group.libraryapp.domain.user.loanhistory;import org.springframework.data.jpa.repository.JpaRepository;public interface UserLoanHistoryRepository extends JpaRepository<UserLoanHistory , Long> {boolean existsByBookNameAndIsReturn(String bookName, boolean isReturn);} 함수 existsByBookNameAndIsReturn 부분에서IsReturn 부분이 Cannot resolve property 'isReturn' 이라는 경고문이 뜨는데요, 엔티티 매핑을 그대로 잘 해주었는데도 동일한 경고문이 뜹니다.혹시 몰라서@Column(name = "is_return", nullable = false)private boolean isReturn;를 추가해주었지만 동일한 경고문이 뜨네요. 동작은 잘되는데 왜그런지 너무 궁금합니다.and 뒷절에 다른 컬럼을 넣어봤는데요 다른 컬럼은 잘 인식하나, isReturn만 인식을 못하고 있는거 같습니다... ㅠㅠ
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part3: 유니티 엔진
싱글플레이 게임의 업데이트 방식
강사님 안녕하세요! 강의를 듣다가 궁금한점이 생겼는데 싱글플레이게임같은경우 업데이트를 할 때 파일을 통째로 갱신하는 방법을 사용하는지, 아니면 또다른 방법이 있는지 궁금합니다.
-
미해결자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)
해당 풀이의 런타임 질문드립니다
안녕하세요.해당 문제와 유사한 문제를 찾아서 복습을 하고 있었는데, 런타임 에러라고 뜨는데요, 무엇이 문제인지 확인 부탁드려도 될런지요.인프런은 아니고 해당 문제와 유사한 문제를 찾아풀고 있던 타사이트라고, 송구스러운데요.참고로 제 브이에스코드를 이용했을 땐 콘솔에 답이 출렵됩니다. 다만 해당 사이트에서 풀때는 런타임에러라고 합니다.강사님 풀이와 동일하게 풀었는데, 제가 무엇을 놓쳤는지 궁금해서 문의드려봅니다.https://leetcode.com/problems/merge-two-sorted-lists/description/ var mergeTwoLists = function(list1, list2) { let answer = []; let n = list1.length; let m = list2.length; let p1 = (p2 = 0); while (p1 < n && p2 < m) { if (list1[p1] <= list2[p2]) answer.push(list1[p1++]); else answer.push(list2[p2++]); } while (p1 < n) answer.push(list1[p1++]); while (p2 < m) answer.push(list2[p2++]); return answer; }
-
미해결캐글 Advanced 머신러닝 실전 박치기
손실함수에 대한 질문
안녕하세요 선생님,공부를 하다가 손실함수 부분에 대해서 질문이 있어서 이렇게 문의드립니다 다름이 아니고 시계열 자료를 분석하고 있는데, 정상성을 확보하기 위해서 차분을 하고 LIGHT GBM과 RANDOM FOREST로 회귀분석을 했는데 실제값은 0.1 ~ 0.8으로 많이 움직이지만, 예측값은 그냥 평균값이 0.4로 고정을 해서 오차에 대한 값이 그렇게 크게 나오지 않습니다. 이럴 경우는 어떻게 해야할까요?
-
미해결React + API Server 프로젝트 개발과 배포 (CI/CD)
CI/CD를 제가 잘 이해한게 맞는지와 merge관련해서 질문이 있습니다!
안녕하세요 이 강의를 듣고 협업 과정에서 CI/CD구축을 하고싶은데요지금 organization을 파서 front와 back 레포지토리를 생성을 했습니다.여기서 각 front, back의 레포지토리의 Actions에 가서 강의대로 진행 시키면 front에서도 main 브랜치가 수정 될 때마다 CI/CD가 수행되고 back에서도 main 브랜치가 수정이 될 때마다 CI/CD가 수행이 되는건가요?그리고 이렇게 CI/CD가 잘 구축된 상황에서merge를 수행하다 충돌이나 에러가 난다면해당 레포지토리의 main브랜치가 병합이 돼서 충돌이 난 상태로 있는건지아니면 병합이 취소 돼서 원래 상태로 있는건지가 궁금 합니다만약 병합이 돼서 충돌 된 상태라면 이 충돌 상태를 어떻게 해결하는지도 궁금합니다!
-
해결됨[코드캠프] 부트캠프에서 만든 고농축 백엔드 코스
모듈 의존성 문제
@Module({ imports: [ TypeOrmModule.forFeature([Product, ProductTag, ProductCategory]), UserModule, ProductTagModule, ProductCategoryModule, ], providers: [ ProductResolver, ProductService, ], }) export class ProductModule {}위와 같은 코드에서 ProductService의 실행에 필요한 ProductTagModule과 ProductCategoryModule를 다 import 해주었는데 계속 아래와 같은 의존성 오류가 나왔습니다.Nest can't resolve dependencies of the ProductService (ProductRepository, ?, UserService, ProductCategoryService). Please make sure that the argument ProductTagService at index [1] is available in the ProductModule context.Potential solutions:- Is ProductModule a valid NestJS module?- If ProductTagService is a provider, is it part of the current ProductModule?- If ProductTagService is exported from a separate @Module, is that module imported within ProductModule? @Module({ imports: [ /* the Module containing ProductTagService */ ] }) 그래서 아래와 같이 ProductTagService, ProductCategoryService를 임의로 providers에 넣어주면 또 실행이 됩니다. 해당 모듈을 이미 임포트 해주었는데 왜 서비스를 따로 또 주입해주어야 할까요?@Module({ imports: [ TypeOrmModule.forFeature([Product, ProductTag, ProductCategory]), UserModule, ProductTagModule, ProductCategoryModule, ], providers: [ ProductResolver, ProductService, ProductTagService, ProductCategoryService, ], }) export class ProductModule {} 아래는 ProductTagModule과 ProductCategoryModule 코드입니다.@Module({ imports: [TypeOrmModule.forFeature([ProductTag])], providers: [ProductTagResolver, ProductTagService], }) export class ProductTagModule {} @Module({ imports: [TypeOrmModule.forFeature([ProductCategory])], providers: [ProductsCategoriesResolver, ProductCategoryService], }) export class ProductCategoryModule {}
-
미해결
반복 일정 구현 관련
"종료일이 없는" 무한 반복 일정 구현하려고 하는데, 테이블 설계 어떻게 하면 좋을지 조언 얻고 싶습니다!예를 들면, "2023년 06월 03일" 기점으로 "1주일" 마다 "종료일 없이" 반복 일정을 세운다고 할 때, DB를 어떻게 짜야할 지 잘 모르겠습니다.제가 생각했던 방법은, table 일정 일정id BIGINT일정내용 VARCHAR일정시작일시 DATETIME반복 CHAR ( D: 매일, W: 매주, M: 매달, Y: 매년) 이런 식으로 테이블을 설계해서 만약 06월 03일의 일정을 조회할 때,일정 table의 모든 레코드를 조회해서 일정시작일시와 반복 파라미터를 분석해 06월 03일에 일정이 생긴다면 반환하는 식으로 구현하려고 했는데,현실적으로 모든 일정을 조회할 때마다 table의 모든 레코드를 select하는 것은 말이 안된다고 생각합니다..혹시 비슷한 고민 해결해보신 분 있으시면 조언 듣고싶습니다!
-
미해결자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
전 나뭇잎 아이콘이 안떠요 ㅠㅠ
왜 안뜰까요 ㅠㅠ흙흙
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
데이터 전처리 IQR 이렇게 해도 되나요?
cols = list(X_train.columns[X_train.dtypes != object]) cols for col in cols: Q1 = X_train[col].quantile(.25) Q3 = X_train[col].quantile(.75) IQR = Q3-Q1 min_iqr = Q1 - 1.5*IQR max_iqr = Q3 + 1.5*IQR cnt_before = sum((X_train[col] < min_iqr) | (X_train[col] > max_iqr)) # (X_train[col] < min_iqr) | (X_train[col] > max_iqr), 주어진 조건 둘 중 하나라도 만족, 이상치를 나타내는 값을 선택하는 조건 print(f'{col}의 이상치 처리 전 이상치 개수: {cnt_before}개 입니다.') # f 접두사를 사용하여 문자열 안에서 중괄호 {} 안에 변수나 표현식을 넣을 수 있음 X_train = X_train[(X_train[col] >= min_iqr) & (X_train[col] <= max_iqr)] # (X_train[col] >= min_iqr) & (X_train[col] <= max_iqr), 주어진 조건 둘 다 만족, 이상치를 제외한 정상 범위의 데이터를 선택하는 조건 cnt_after = sum((X_train[col] < min_iqr) | (X_train[col] > max_iqr)) print(f'{col}의 이상치 처리 후 이상치 개수: {cnt_after}개 입니다.')
-
미해결이득우의 언리얼 프로그래밍 Part2 - 언리얼 게임 프레임웍의 이해
섹션1 캐릭터와 입력시스템에서 아래 오류가 뜹니다..
```Error None CDO Constructor (ABCharacterBase): Failed to find Error None CDO Constructor (ABCharacterBase): Failed to find ```이렇게 뜨는데 코드를 강의대로 쳤는데 혹시나 제가 잘못 친 게 있을까 교수님이 올려주신 깃허브 파일을 다운로드해서 옮겨도 똑같게 뜨게 되는데 혹시 고칠 수 있는 방법이 있을까요?
-
미해결생활코딩 - 자바스크립트(JavaScript) 기본
new 를 안 붙이는 경우 (섹션19)
new를 통해 생성자를 만들어 준다고 하셨는데,아래와 같이 new를 안 붙여주는 경우는 뭔지 궁금합니다!function Func(){ return 'Hello'; }; var p = Func() console.log(p) // Hello
-
미해결스프링 핵심 원리 - 기본편
인터페이스 객체
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]여기에 질문 내용을 남겨주세요. 강의 9분쯤 인터페이스로 만든 MemberRepository를 private fianl로 객체 생성했는데 제가 알기론 인터페이스는 객체로 생성이 안되는데 어떡게 된건가요??캐스팅을 하면 인터페이스를 객체로 만들 수 있는건가요??
-
미해결실리콘밸리 엔지니어가 가르치는 파이썬 장고 웹프로그래밍
database is locked.
sqliteBrowser 사용하는 수업에서 db.sqlite3를 열려고 하니, database is locked 라는 메시지가 뜹니다.그래서 ChatGPT나 Bard... Googling을 이용해봤지만, 저에게 해당될만한 내용이 없네요. 혹시 몰라 재부팅도 해봤습니다. 이거 DB부분만 지웠다가 다시 까는 방법이 있을까요?(makemigrations, migrate 부분)
-
미해결실전! 스프링 부트와 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:로 해봤는데도 로그 출력이 잘 안됩니다.
-
해결됨10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
[2-D] 답안 관련 질문
안녕하세요. 강사님2-D 답안을 보면서 질문이 있습니다.해설 강의에서 설명한 DFS 반환값 설정과 DFS 로직은 이미 이해한 상태에서 해당 문제를 접했는데요.제가 답안을 보고 수정 및 작성한 코드는 아래입니다./* 답 : http://boj.kr/9815cd371fe643f59ac17a410e0cfca4 */ #include <bits/stdc++.h> using namespace std; int M, N, K; int m[104][104]; bool visited[104][104]; vector<tuple<int, int, int, int>> c; int dx[4] = {1, 0, -1, 0}; int dy[4] = {0, 1, 0, -1}; int dfs(pair<int, int> node) { int count = 1; visited[node.first][node.second] = true; for(int i = 0; i < 4; i++) { int nx = node.first + dx[i]; int ny = node.second + dy[i]; if(nx < 0 || nx >= N || ny < 0 || ny >= M) continue; if(!m[nx][ny] && !visited[nx][ny]) count += dfs({nx, ny}); } return count; } int main(void) { cin >> M >> N >> K; for(int i = 0; i < K; i++) { int x1, y1, x2, y2; cin >> x1 >> y1 >> x2 >> y2; c.push_back({x1, y1, x2, y2}); } fill(&m[0][0], &m[0][0] + 104 * 104, 0); for(int i = 0; i < N; i++) for(int j = 0; j < M; j++) for(int k = 0; k < K; k++) if(get<0>(c[k]) <= i && i < get<2>(c[k]) && get<1>(c[k]) <= j && j < get<3>(c[k])) m[i][j] = 1; // for(int i = 0; i < N; i++) // { // for(int j = 0; j < M; j++) // cout << m[i][j]; // cout << '\n'; // } int component = 0; vector<int> area; for(int i = 0; i < N; i++) for(int j = 0; j < M; j++) if(!m[i][j] && !visited[i][j]) { component++; area.push_back(dfs({i, j})); } sort(area.begin(), area.end()); cout << component << '\n'; for (int i = 0; i < area.size(); i++) cout << area[i] << ' '; cout << '\n'; return 0; }저는 강사님과 약간 다르게 코드를 작성했는데 강사님의 이해를 돕기 위해 다른 점을 살짝 설명드리면해당 문제 예시 그림에서 시계 방향으로 90도 회전한 상태라고 가정하고 진행을 했습니다. 그래서 x, y 위치가 반대고 각 이중 for 문의 첫 for 문 내 조건문 표현식에서 N 을 사용합니다.미리 영역 좌표를 받고 int 형 데이터 4개를 가지고 있는 튜플을 사용했는데요. 제가 안되는 부분은 바로 해당 튜플을 가지고 영역을 표시할 때 입니다. for(int i = 0; i < N; i++) for(int j = 0; j < M; j++) for(int k = 0; k < K; k++) if(get<0>(c[k]) <= i && i < get<2>(c[k]) && get<1>(c[k]) <= j && j < get<3>(c[k])) m[i][j] = 1;중요한건 오른쪽 위 좌표에 대해서 검사를 할 때 등호를 포함시키지 않는게 답을 위한 중요한 부분이였는데요. 이 부분이 이해가 가질 않습니다.
-
미해결몇 줄로 끝내는 인터랙티브 웹 개발 노하우 [초급편]
requestAnimationFrame 질문
선생님 이거 사용하면서 위치값 계속 업데이트해주는걸로 아는데 이걸 사용해서 그러지는 몰라도그 버튼위에 올리면 좀 크기가 나중에 변화되는데 이게 연산을 계속해서 이런문제가 발생 할수도 있나요?