173만명의 커뮤니티!! 함께 토론해봐요.
미해결
자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
안녕하세요 5강의 GET 부분 진행하는데 404 오류가 계속 떠서 문의드립니다. 서버도 정상적으로 실행되고 타 프로젝트에서는 정상적으로 localhost :8080이 동작하는데 이 프로젝트만 계속 404 오류가 발생하네요.. Java 11 사용중이고 Gradle Reload 해봐도 해결이 안돼 질문글 남깁니다..
java spring aws mysql spring-boot jpa
김승원
2023-06-06T14:54:46.229Z
댓글 2
좋아요 1
조회수 640
미해결
실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
[질문 템플릿] 1. 강의 내용과 관련된 질문인가요? 예 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? 예 3. 질문 잘하기 메뉴얼을 읽어보셨나요? 예 [질문 내용] 안녕하세요! 에서 커밋되지 않기 때문에 INSERT문 안나가는건 이해 되는데요. persist()에 의해 영속성 컨텍스트에는 저장이 되어서 SELECT문도 안나가고 그냥 영속성 컨텍스트에서 가져와야 하는거 아닌가 라는 의문이 생겨서요. 커밋 직전에 플러시 되면서 디비로 쿼리 나가는 건 알고 있었는데, 혹시 영속성 컨텍스트에 저장되는 것도 커밋이 되어야 일어나는 일인가요?? 어느 부분을 잘못 생각하고 있는건지 모르겠어요. 답변 부탁드려요!!
java spring 웹앱 spring-boot jpa
팡세
2023-06-06T05:38:20.398Z
댓글 1
좋아요 1
조회수 382
미해결
자바 ORM 표준 JPA 프로그래밍 - 기본편
안녕하세요 혹시 자막 관련 기능은 지원하지 않는지, 궁금합니다. 청력이 좋지가 않아서 듣고는 있는데 약간 애로사항이 생기네요.
BroJang
2023-06-06T01:47:04.133Z
댓글 4
좋아요 0
조회수 1397
미해결
실전! Querydsl
Q클래스와 같이 엔티티가 하나씩 더 생기는 데 왜일까요? 괜찮은건가요?? 예 : Hello QHello 이렇게 사진 처럼 생기네요 .
빛혜원
2023-06-05T13:53:36.408Z
댓글 1
좋아요 1
조회수 648
미해결
스프링 프레임워크는 내 손에 [스프2탄]
ㅠㅠ 6월 5일인데 언제나오나요
spring jquery mvc jpa spring-security
시골햄스터
2023-06-05T11:07:36.024Z
댓글 2
좋아요 0
조회수 624
미해결
자바 ORM 표준 JPA 프로그래밍 - 기본편
기존 프로젝트(spring X)에 jpa를 적용하는 중인데, persistence.xml 파일로 설정 후 Persistence.createEntityManagerFactory("test"); 호출 시 아래의 예외가 발생하는 이슈가 있습니다. java.lang.NoSuchMethodError: org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar([Lorg/apache/xerces/xni/parser/XMLInputSource;)V xml 파싱 중 프로젝트에서 사용중인 xerces...jar 파일과 jdk의 rt.jar가 충돌되어 메서드를 찾지 못하는 현상으로 파악중입니다. (일반적인 jpa 예제에서는 rt.jar를 참조해야하지만, 해당 코드에서는 xerces...jar를 참조함) 해당 라이브러리를 걷어내기엔 기존 코드의 dependency가 염려되어 다른 파일(yml/properties)로 설정을 관리할 수는 없을까 싶은데, 검색 결과는 대부분 spring jpa 관련 내용이었습니다. jpa 설정 시 xml 파일이 아닌, yml 또는 properties 파일로 관리하는 방법이 있는지 궁금합니다.
초알파
2023-06-05T09:02:24.775Z
댓글 2
좋아요 0
조회수 603
미해결
자바 ORM 표준 JPA 프로그래밍 - 기본편
안녕하세요! 질문 좀 드리려고 합니다 엔티티 매니저 프록시는 프록시를 싱글톤으로 주입해서 동시성 문제를 해결하고 실제 엔티티 매니저 인스턴스를 ThreadLocal로 관리하는 역할 정도로 생각해도 괜찮을까요? 추가적으로 실제 엔티티 매니저는 @Transactional을 사용하면 JpaTransactionManager에서 생성이 되는데 @Transactional을 사용하지 않으면 처음 엔티티 매니저를 사용할 때 생성이 되나요?
code-tree
2023-06-05T07:44:33.797Z
댓글 1
좋아요 0
조회수 442
미해결
실전! Querydsl
다른 블로그 참고하여 강의에 맞게 설정을 조금 수정하였습니다. 새롭게 강의 듣는 분들의 시간을 아낄 수 있을까 싶어 공유드립니다. 장점 QEntity 생성 경로가 강의와 같습니다. src/main 하위가 아닌 generated 하위에만 QEntity 가 생성 되어 git ignore설정을 따로 해주지 않아도 됩니다. 저도 이 강의의 이 회차를 듣고 알아본 것이기 때문에 QEntity 가 잘 생성되어 Run이 잘되는 것만 확인했지 다른 것까지 모두 테스트 해보진 못했습니다. compileQueryDsl 동작 없이 Application Run 하시면 되겠습니다. 아래 설정의 잘못된점이 있다면 댓글 달아주시면 모두에게 도움이 될 것 같습니다. 내 블로그 : https://elastinn.tistory.com/11 블로그 광고해도 되나 모르겠습니다. 감사합니다. plugins { id 'java' id 'org.springframework.boot' version '2.7.12' id 'io.spring.dependency-management' version '1.0.15.RELEASE' } group = 'study' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' configurations { compileOnly { extendsFrom annotationProcessor } } repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-web' compileOnly 'org.projectlombok:lombok' // queryDSL 설정 implementation "com.querydsl:querydsl-jpa" implementation "com.querydsl:querydsl-core" implementation "com.querydsl:querydsl-collections" annotationProcessor "com.querydsl:querydsl-apt:${dependencyManagement.importedProperties['querydsl.version']}:jpa" // querydsl JPAAnnotationProcessor 사용 지정 annotationProcessor "jakarta.annotation:jakarta.annotation-api" // java.lang.NoClassDefFoundError (javax.annotation.Generated) 대응 코드 annotationProcessor "jakarta.persistence:jakarta.persistence-api" // java.lang.NoClassDefFoundError (javax.annotation.Entity) 대응 코드 runtimeOnly 'com.h2database:h2' annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' } tasks.named('test') { useJUnitPlatform() } //querydsl 추가 시작 def querydslDir = "$buildDir/generated/querydsl" // java source set 에 querydsl QClass 위치 추가 sourceSets { main.java.srcDirs += [ querydslDir ] } // gradle clean 시에 QClass 디렉토리 삭제 clean { delete file(querydslDir) } //querydsl 추가 끝
ginny2407
2023-06-05T07:21:39.858Z
댓글 2
좋아요 8
조회수 1662
미해결
실전! Querydsl
QueryDSL 강의 예제 모델에서 , @Entity @Getter @Setter @NoArgsConstructor(access = AccessLevel.PROTECTED) @ToString(of = {"id", "username", "age"}) public class Member { @Id @GeneratedValue @Column(name = "member_id") private Long id; private String username; private int age; @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "team_id") private Team team; public Member(String username, int age, Team team) { this.username = username; this.age = age; if (team != null) { changeTeam(team); } public void changeTeam(Team team) { this.team = team; team.getMembers().add(this); 이 부분에서 public void changeTeam(Team team) { this.team.getMembers().remove(this); this.team = team; team.getMembers().add(this); 아래와 같이 해당 팀의 멤버 삭제도 해줘야 하는것 아닌가요? public void changeTeam(Team team){ if(this.team != null) { // this.team이 null이 아니면 이 member객체는 team이 있음을 의미 this.team.getMembers().remove(this); // 해당 팀의 멤버에서 삭제 } this.team = team; team.getMembers().add(this); }
빛혜원
2023-06-05T06:09:23.243Z
댓글 1
좋아요 0
조회수 410
해결됨
실전! 스프링 데이터 JPA
안녕하십니까 강사님. 좋은 강의 정말 감사합니다. 이번에 강사님께 강의를 듣고 현업에 적용하는 도중 궁금한 사항이 있어 문의하게 되었습니다. 저희는 현재 DDD 를 적용하려고 합니다. DDD 에서는 애그리거트끼리의 관계를 맵핑하는 것을 지양하는 것으로 알고 있습니다. 따라서 저희는 ERD 기준으로 도메인을 설계해보니 실제 나온 도메인을 보면 테이블이 전부 도메인 클래스가 되었고 서로간의 관계를 코딩으로 맺는 부분 (@ManyToOne 등)이 존재 하지 않습니다. 현업에서도 ERD 를 기준으로 도메인 클래스를 나누면 테이블 당 하나의 애그리거트가 나오는 것이 보편적인 사항일까요? DDD 로 개발하다보면 도메인 클래스에 관계를 맺는 부분이 없는게 보편적일까요?
김가가가
2023-06-05T01:41:20.241Z
댓글 2
좋아요 0
조회수 1312
미해결
실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
엔티티 클래스 개발2 강의 8분까지의 내용을 따라하는 중인데 cmd로 db실행해도 db과 최신화 되어있지 않습니다. 그리고 intellij에서 메인 클래스 실행하면 강의와 다르게 자동 종료됩니다. 해결 방법 문의 드립니다. https://drive.google.com/drive/folders/1UcqCYHfwffTcVLU7QlbHylGEY2djBH9f?usp=sharing
java spring 웹앱 spring-boot jpa
94leehd
2023-06-04T12:09:11.475Z
댓글 1
좋아요 0
조회수 422
미해결
실전! Querydsl
1차 시도로 강의자료를 보고 그대로 따라한 후 우측 Gradle Tasks/orther/compileQueryDsl 누르니 plugins { id 'java' id 'org.springframework.boot' version '2.7.12' //querydsl 추가 id "com.ewerk.gradle.plugins.querydsl" version "1.0.10" id 'io.spring.dependency-management' version '1.0.15.RELEASE' } group = 'study' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' configurations { compileOnly { extendsFrom annotationProcessor } } repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-web' compileOnly 'org.projectlombok:lombok' runtimeOnly 'com.h2database:h2' annotationProcessor 'org.projectlombok:lombok' //querydsl 추가 implementation 'com.querydsl:querydsl-jpa' testImplementation 'org.springframework.boot:spring-boot-starter-test' } tasks.named('test') { useJUnitPlatform() } //querydsl 추가 시작 def querydslDir = "$buildDir/generated/querydsl" querydsl { jpa = true querydslSourcesDir = querydslDir } sourceSets { main.java.srcDir querydslDir } configurations { querydsl.extendsFrom compileClasspath } compileQuerydsl { options.annotationProcessorPath = configurations.querydsl } //querydsl 추가 끝 아래와 같은 에러가 발생했습니다. Unable to load class 'com.mysema.codegen.model.Type'. This is an unexpected error. Please file a bug containing the idea.log file. 그래서 커뮤니티에 올라온 질문에 대한 답을 보고 따라해봤습니다. plugins { id 'java' id 'org.springframework.boot' version '2.7.12' id 'io.spring.dependency-management' version '1.0.15.RELEASE' } group = 'study' version = '0.0.1-SNAPSHOT' sourceCompatibility = '11' configurations { compileOnly { extendsFrom annotationProcessor } } repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-web' compileOnly 'org.projectlombok:lombok' runtimeOnly 'com.h2database:h2' annotationProcessor 'org.projectlombok:lombok' //Querydsl 추가 implementation 'com.querydsl:querydsl-jpa' annotationProcessor "com.querydsl:querydsl-apt:${dependencyManagement.importedProperties['querydsl.version']}:jpa" annotationProcessor "jakarta.annotation:jakarta.annotation-api" annotationProcessor "jakarta.persistence:jakarta.persistence-api" testImplementation 'org.springframework.boot:spring-boot-starter-test' } tasks.named('test') { useJUnitPlatform() } //Querydsl 추가, 자동 생성된 Q클래스 gradle clean으로 제거 clean { delete file('src/main/generated') } 노란박스 안에 compileQueryDsl 버튼이 생기지 않습니다. 어떻게 해결해야될까요???
빛혜원
2023-06-04T07:29:57.906Z
댓글 1
좋아요 0
조회수 891
미해결
Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)
https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.0.33/mysql-connector-j-8.0.33.jar 제 경우 mariadb 커넥터 대신 mysql 커넥터 사용해서 해결했습니다. (... confluentXXX/share/java/kafka 폴더에 위치) 정말.. 하루종일 아래 예외로 애먹었네여.. Error while starting connector ... No suitable driver found for jdbc:mysql:// localhost:3307/mydb mariadb 버전별 커넥터를 5개정도 해봐도 안되어서 자포자기한 채로 mysql 커넥터를 사용하니 되었습니다 ㅠㅠ 자세한 버전 정보입니다. (윈도우) kafka : 2.13-3.4.0 kafka-connect-jdbc : 10.7.2 confluent : 7.4.0 mariaDB : 10.11 java : 17 설정 정보입니다. confluent/etc/kafka/connect-distributed.properties 89번 행 근처 plugin.path=\C:\\Work\\confluentinc-kafka-connect-jdbc-10.7.2\\lib confluent/bin/windows/kafka-run-class.bat 97번 행 근처 rem classpath addition for LSB style path if exist "%BASE_DIR%\share\java\kafka\*" ( call :concat "%BASE_DIR%\share\java\kafka\*" ) (...) 122번 행 근처 rem Log4j settings IF ["%KAFKA_LOG4J_OPTS%"] EQU [""] ( if exist %~dp0../../etc/kafka/tools-log4j.properties ( set KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:%~dp0../../etc/kafka/tools-log4j.properties ) else ( set KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:%BASE_DIR%/etc/kafka/tools-log4j.properties ) ) ELSE ( rem create logs directory IF not exist "%LOG_DIR%" ( mkdir "%LOG_DIR%" ) set KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:%~dp0../../etc/kafka/tools-log4j.properties ) confluent/bin/windows/connect-distributed.bat 28번 행 근처 rem Log4j settings IF ["%KAFKA_LOG4J_OPTS%"] EQU [""] ( set KAFKA_LOG4J_OPTS=-Dlog4j.configuration=file:%BASE_DIR%/etc/kafka/connect-log4j.properties -Dlog4j.config.dir=%BASE_DIR%/etc/kafka ) POST Request { "name":"my-source-connect", "config":{ "connector.class" : "io.confluent.connect.jdbc.JdbcSourceConnector", "connection.url":"jdbc:mysql://localhost:3307/mydb", "connection.user":"root", "connection.password":"1234", "mode":"incrementing", "incrementing.column.name":"id", "table.whitelist":"users", "topic.prefix":"my_topic_", "tasks.max":"1" } }
spring-boot jpa 아키텍처 spring-cloud kafka msa
2023-06-03T12:56:21.688Z
댓글 2
좋아요 3
조회수 7104
해결됨
호돌맨의 요절복통 개발쇼 (SpringBoot, Vue.JS, AWS)
좋은 강의 정말 감사드립니다. 강의 수강 도중 서비스 로직 관련 궁금한 점이 있어 문의드리게 되었습니다. 제가 DDD 를 공부하면서 알게된 부분이 DDD 에서는 비즈니스 로직을 도메인에 몰아서 작성하라고 했는데 본 강의에서는 절대 서비스 정책을 도메인에 둬서는 안된다고 말씀하신 걸로 알고 있습니다. 호돌맨님께서 말씀하신 서비스 정책을 두지 말라는 조언은 DDD를 적용하지 않았기 때문인지 두지 말라고 하신건지 알고 싶습니다. (서비스 정책 == 비즈니스 로직으로 이해했습니다. 혹시 제가 이해한 부분이 잘못 됐을까요?) 감사합니다.
vue.js aws spring-boot jpa spring-security
김가가가
2023-06-03T00:32:23.646Z
댓글 1
좋아요 0
조회수 673
미해결
자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
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만 인식을 못하고 있는거 같습니다... ㅠㅠ
java spring aws mysql spring-boot jpa
지웅
2023-06-02T19:10:02.078Z
댓글 2
좋아요 1
조회수 653
미해결
자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
왜 안뜰까요 ㅠㅠ흙흙
java spring aws mysql spring-boot jpa
title.jjk
2023-06-02T15:57:40.058Z
댓글 1
좋아요 1
조회수 591
미해결
실전! 스프링 부트와 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 :test 22: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 SpringBootContextLoader 22: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 exist 22: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 exist 22: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.MemberRepositoryTest 22: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.Final 2023-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@b5d9f1e 2023-06-02 22:41:59.493 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration boolean -> org.hibernate.type.BooleanType@b5d9f1e 2023-06-02 22:41:59.494 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Boolean -> org.hibernate.type.BooleanType@b5d9f1e 2023-06-02 22:41:59.494 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration numeric_boolean -> org.hibernate.type.NumericBooleanType@5844a2d1 2023-06-02 22:41:59.495 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration true_false -> org.hibernate.type.TrueFalseType@3b28b7b0 2023-06-02 22:41:59.495 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration yes_no -> org.hibernate.type.YesNoType@504497fa 2023-06-02 22:41:59.496 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@34d9df9f 2023-06-02 22:41:59.497 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration byte -> org.hibernate.type.ByteType@34d9df9f 2023-06-02 22:41:59.497 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Byte -> org.hibernate.type.ByteType@34d9df9f 2023-06-02 22:41:59.497 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration character -> org.hibernate.type.CharacterType@7b91d9f 2023-06-02 22:41:59.498 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration char -> org.hibernate.type.CharacterType@7b91d9f 2023-06-02 22:41:59.498 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Character -> org.hibernate.type.CharacterType@7b91d9f 2023-06-02 22:41:59.498 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@2e3f324e 2023-06-02 22:41:59.498 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration short -> org.hibernate.type.ShortType@2e3f324e 2023-06-02 22:41:59.498 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Short -> org.hibernate.type.ShortType@2e3f324e 2023-06-02 22:41:59.499 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration integer -> org.hibernate.type.IntegerType@2a136383 2023-06-02 22:41:59.499 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration int -> org.hibernate.type.IntegerType@2a136383 2023-06-02 22:41:59.499 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Integer -> org.hibernate.type.IntegerType@2a136383 2023-06-02 22:41:59.499 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@25567581 2023-06-02 22:41:59.499 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration long -> org.hibernate.type.LongType@25567581 2023-06-02 22:41:59.499 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Long -> org.hibernate.type.LongType@25567581 2023-06-02 22:41:59.500 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@71bb8b34 2023-06-02 22:41:59.500 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration float -> org.hibernate.type.FloatType@71bb8b34 2023-06-02 22:41:59.500 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Float -> org.hibernate.type.FloatType@71bb8b34 2023-06-02 22:41:59.500 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@16d41725 2023-06-02 22:41:59.501 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration double -> org.hibernate.type.DoubleType@16d41725 2023-06-02 22:41:59.501 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Double -> org.hibernate.type.DoubleType@16d41725 2023-06-02 22:41:59.501 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration big_decimal -> org.hibernate.type.BigDecimalType@57c69937 2023-06-02 22:41:59.501 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigDecimal -> org.hibernate.type.BigDecimalType@57c69937 2023-06-02 22:41:59.502 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration big_integer -> org.hibernate.type.BigIntegerType@c472300 2023-06-02 22:41:59.502 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.math.BigInteger -> org.hibernate.type.BigIntegerType@c472300 2023-06-02 22:41:59.502 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration string -> org.hibernate.type.StringType@2dac2e1b 2023-06-02 22:41:59.502 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.String -> org.hibernate.type.StringType@2dac2e1b 2023-06-02 22:41:59.503 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration nstring -> org.hibernate.type.StringNVarcharType@33de7f3d 2023-06-02 22:41:59.503 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration ncharacter -> org.hibernate.type.CharacterNCharType@10131289 2023-06-02 22:41:59.504 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration url -> org.hibernate.type.UrlType@10fb4575 2023-06-02 22:41:59.504 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.net .URL -> org.hibernate.type.UrlType@10fb4575 2023-06-02 22:41:59.505 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration Duration -> org.hibernate.type.DurationType@2cc75b25 2023-06-02 22:41:59.505 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Duration -> org.hibernate.type.DurationType@2cc75b25 2023-06-02 22:41:59.505 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration Instant -> org.hibernate.type.InstantType@119d4443 2023-06-02 22:41:59.505 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.Instant -> org.hibernate.type.InstantType@119d4443 2023-06-02 22:41:59.506 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDateTime -> org.hibernate.type.LocalDateTimeType@7e0f9528 2023-06-02 22:41:59.507 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDateTime -> org.hibernate.type.LocalDateTimeType@7e0f9528 2023-06-02 22:41:59.508 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalDate -> org.hibernate.type.LocalDateType@7336fd8f 2023-06-02 22:41:59.508 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalDate -> org.hibernate.type.LocalDateType@7336fd8f 2023-06-02 22:41:59.509 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration LocalTime -> org.hibernate.type.LocalTimeType@852ef8d 2023-06-02 22:41:59.509 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.LocalTime -> org.hibernate.type.LocalTimeType@852ef8d 2023-06-02 22:41:59.509 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@147e0734 2023-06-02 22:41:59.509 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetDateTime -> org.hibernate.type.OffsetDateTimeType@147e0734 2023-06-02 22:41:59.510 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration OffsetTime -> org.hibernate.type.OffsetTimeType@270d5060 2023-06-02 22:41:59.510 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.OffsetTime -> org.hibernate.type.OffsetTimeType@270d5060 2023-06-02 22:41:59.511 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@3a209918 2023-06-02 22:41:59.511 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.time.ZonedDateTime -> org.hibernate.type.ZonedDateTimeType@3a209918 2023-06-02 22:41:59.511 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration date -> org.hibernate.type.DateType@2f4d01b6 2023-06-02 22:41:59.511 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Date -> org.hibernate.type.DateType@2f4d01b6 2023-06-02 22:41:59.512 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration time -> org.hibernate.type.TimeType@beabd6b 2023-06-02 22:41:59.512 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Time -> org.hibernate.type.TimeType@beabd6b 2023-06-02 22:41:59.513 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration timestamp -> org.hibernate.type.TimestampType@13ca16bf 2023-06-02 22:41:59.513 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Timestamp -> org.hibernate.type.TimestampType@13ca16bf 2023-06-02 22:41:59.513 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Date -> org.hibernate.type.TimestampType@13ca16bf 2023-06-02 22:41:59.514 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration dbtimestamp -> org.hibernate.type.DbTimestampType@59d5a6fd 2023-06-02 22:41:59.515 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar -> org.hibernate.type.CalendarType@1e191150 2023-06-02 22:41:59.515 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Calendar -> org.hibernate.type.CalendarType@1e191150 2023-06-02 22:41:59.515 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.GregorianCalendar -> org.hibernate.type.CalendarType@1e191150 2023-06-02 22:41:59.516 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_date -> org.hibernate.type.CalendarDateType@f18b738 2023-06-02 22:41:59.516 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration calendar_time -> org.hibernate.type.CalendarTimeType@6fb22ae3 2023-06-02 22:41:59.517 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration locale -> org.hibernate.type.LocaleType@5fd8dd66 2023-06-02 22:41:59.517 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Locale -> org.hibernate.type.LocaleType@5fd8dd66 2023-06-02 22:41:59.517 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration currency -> org.hibernate.type.CurrencyType@55c50f52 2023-06-02 22:41:59.517 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.Currency -> org.hibernate.type.CurrencyType@55c50f52 2023-06-02 22:41:59.517 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration timezone -> org.hibernate.type.TimeZoneType@79f5a6ed 2023-06-02 22:41:59.517 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.TimeZone -> org.hibernate.type.TimeZoneType@79f5a6ed 2023-06-02 22:41:59.518 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration class -> org.hibernate.type.ClassType@120350eb 2023-06-02 22:41:59.518 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Class -> org.hibernate.type.ClassType@120350eb 2023-06-02 22:41:59.518 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-binary -> org.hibernate.type.UUIDBinaryType@643ecfef 2023-06-02 22:41:59.518 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.util.UUID -> org.hibernate.type.UUIDBinaryType@643ecfef 2023-06-02 22:41:59.518 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration uuid-char -> org.hibernate.type.UUIDCharType@2e45a357 2023-06-02 22:41:59.519 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration binary -> org.hibernate.type.BinaryType@41a16eb3 2023-06-02 22:41:59.519 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration byte[] -> org.hibernate.type.BinaryType@41a16eb3 2023-06-02 22:41:59.519 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration [B -> org.hibernate.type.BinaryType@41a16eb3 2023-06-02 22:41:59.519 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-binary -> org.hibernate.type.WrapperBinaryType@684372d0 2023-06-02 22:41:59.519 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration Byte[] -> org.hibernate.type.WrapperBinaryType@684372d0 2023-06-02 22:41:59.519 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Byte; -> org.hibernate.type.WrapperBinaryType@684372d0 2023-06-02 22:41:59.520 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration row_version -> org.hibernate.type.RowVersionType@6060146b 2023-06-02 22:41:59.521 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration image -> org.hibernate.type.ImageType@7a55fb81 2023-06-02 22:41:59.522 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration characters -> org.hibernate.type.CharArrayType@7272ee51 2023-06-02 22:41:59.523 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration char[] -> org.hibernate.type.CharArrayType@7272ee51 2023-06-02 22:41:59.523 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration [C -> org.hibernate.type.CharArrayType@7272ee51 2023-06-02 22:41:59.524 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration wrapper-characters -> org.hibernate.type.CharacterArrayType@762a10b6 2023-06-02 22:41:59.524 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration [Ljava.lang.Character; -> org.hibernate.type.CharacterArrayType@762a10b6 2023-06-02 22:41:59.524 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration Character[] -> org.hibernate.type.CharacterArrayType@762a10b6 2023-06-02 22:41:59.524 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration text -> org.hibernate.type.TextType@3e0a9b1d 2023-06-02 22:41:59.524 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration ntext -> org.hibernate.type.NTextType@4e3283f6 2023-06-02 22:41:59.525 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration blob -> org.hibernate.type.BlobType@21516c88 2023-06-02 22:41:59.525 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Blob -> org.hibernate.type.BlobType@21516c88 2023-06-02 22:41:59.526 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_blob -> org.hibernate.type.MaterializedBlobType@65d9e72a 2023-06-02 22:41:59.526 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration clob -> org.hibernate.type.ClobType@464aeb09 2023-06-02 22:41:59.527 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.Clob -> org.hibernate.type.ClobType@464aeb09 2023-06-02 22:41:59.527 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration nclob -> org.hibernate.type.NClobType@b7d2d51 2023-06-02 22:41:59.527 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.sql.NClob -> org.hibernate.type.NClobType@b7d2d51 2023-06-02 22:41:59.528 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_clob -> org.hibernate.type.MaterializedClobType@66b0e207 2023-06-02 22:41:59.528 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration materialized_nclob -> org.hibernate.type.MaterializedNClobType@3ca17943 2023-06-02 22:41:59.529 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration serializable -> org.hibernate.type.SerializableType@482a58c7 2023-06-02 22:41:59.532 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration object -> org.hibernate.type.ObjectType@7b377a53 2023-06-02 22:41:59.532 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration java.lang.Object -> org.hibernate.type.ObjectType@7b377a53 2023-06-02 22:41:59.532 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_date -> org.hibernate.type.AdaptedImmutableType@25214797 2023-06-02 22:41:59.533 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_time -> org.hibernate.type.AdaptedImmutableType@4e5c8ef3 2023-06-02 22:41:59.533 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_timestamp -> org.hibernate.type.AdaptedImmutableType@60928a61 2023-06-02 22:41:59.533 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_dbtimestamp -> org.hibernate.type.AdaptedImmutableType@27358a19 2023-06-02 22:41:59.533 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar -> org.hibernate.type.AdaptedImmutableType@8077c97 2023-06-02 22:41:59.533 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_calendar_date -> org.hibernate.type.AdaptedImmutableType@22865072 2023-06-02 22:41:59.533 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_binary -> org.hibernate.type.AdaptedImmutableType@563317c1 2023-06-02 22:41:59.533 DEBUG 36763 --- [ Test worker] org.hibernate.type.BasicTypeRegistry : Adding type registration imm_serializable -> org.hibernate.type.AdaptedImmutableType@5d5d3a5c 2023-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.H2Dialect 2023-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 CASCADE 2023-06-02 22:41:59.962 DEBUG 36763 --- [ Test worker] org.hibernate.SQL : drop sequence if exists hibernate_sequence 2023-06-02 22:41:59.964 DEBUG 36763 --- [ Test worker] org.hibernate.SQL : create sequence hibernate_sequence start with 1 increment by 1 2023-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 TypeConfiguration 2023-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 warning 2023-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_sequence 2023-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 TypeConfiguration 2023-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 2s 4 actionable tasks: 2 executed, 2 up-to-date 10:42:00 PM: Execution finished ':test --tests "jpabook.jpashop.MemberRepositoryTest"'. application.yml 코드입니다. 띄어쓰기 잘 적용했는데도 안됩니다 ㅜㅜ springboot는 3버전대도 아니고 2.7.12 입니다 .. 혹시나 해서 org.hibernate.orm.jdbc.bind:로 해봤는데도 로그 출력이 잘 안됩니다.
java spring 웹앱 spring-boot jpa
민기
2023-06-02T13:44:45.473Z
댓글 1
좋아요 1
조회수 656
미해결
Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)
kafka connector mysql 연결 부분에서 오류가 납니다 mac m1 환경인데 구글링해도 이유를 모르겠어서 질문 남깁니다
spring-boot jpa 아키텍처 spring-cloud kafka msa
asdfjkl
2023-06-01T14:23:11.970Z
댓글 1
좋아요 0
조회수 476
미해결
실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
안녕하세요. 주문 - 상품 관계가 다대다라서 주문 - 주문상품 - 상품으로 나뉘는건 이해가되는데 주문상품에서 가격이랑 개수를 주문에다가 넣어도 상관없지 않을까요? 주문상품은 전 그냥 상품과주문을 이어주는 도메인이라고 생각하기 때문입니다. 주문상품의 구체적인 역할과 주문상품에 가격과 개수가 들어가는 이유를 알고 싶습니다. 감사합니다
java spring 웹앱 spring-boot jpa
조소영
2023-06-01T13:28:29.867Z
댓글 1
좋아요 0
조회수 462
미해결
실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] intellij 데이터베이스에도 연결하고싶은데 test connection 쓰면 에러가 자꾸 뜨네요 ㅠ 해결 방법이 없으띾요 ?
java spring 웹앱 spring-boot jpa
이시영
2023-06-01T09:19:17.007Z
댓글 1
좋아요 0
조회수 698