• 카테고리

    질문 & 답변
  • 세부 분야

    백엔드

  • 해결 여부

    해결됨

'JPA와 DB 설정, 동작확인' 강의 내용중

21.01.10 23:33 작성 조회수 190

0

H2 데이터베이스에 접속은 되는데 

실행시 SQL 쿼리문이 나오지 않아 연결이 되지 않습니다 

무엇이 문제일까요?

답변 7

·

답변을 작성해보세요.

1

네 잘 해결하셨습니다^^

1

보아닌님의 프로필

보아닌

질문자

2021.01.11

해결됬습니다 templates/application.yml 안에다 경로를 넣어놔서 이런 문제가 생겼었네요 

resources/application.yml 로  경로를 수정하니 정상 작동 됬습니다 ㅎㅎㅎ... 

0

보아닌님의 프로필

보아닌

질문자

2021.01.11

application.yml 수정후에는 특정 로그가 안뜨지만

H2를 종료한 상태에도 여전히 DB와 연동이 되질 않습니다. 어디서 부터 잘못된건지 어렵네요

====================================================================================

2021-01-11 02:26:11.307  INFO 4605 --- [           main] jpabook.jpashop.MemberRepositoryTest     : Starting MemberRepositoryTest using Java 11.0.9.1 on youns with PID 4605 (started by youns in /home/youns/temp/jpashop)

2021-01-11 02:26:11.310  INFO 4605 --- [           main] jpabook.jpashop.MemberRepositoryTest     : No active profile set, falling back to default profiles: default

2021-01-11 02:26:12.265  INFO 4605 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.

2021-01-11 02:26:12.274  INFO 4605 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 3 ms. Found 0 JPA repository interfaces.

2021-01-11 02:26:12.638  INFO 4605 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...

2021-01-11 02:26:12.830  INFO 4605 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.

2021-01-11 02:26:12.894  INFO 4605 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]

2021-01-11 02:26:12.948  INFO 4605 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 5.4.25.Final

2021-01-11 02:26:13.071  INFO 4605 --- [           main] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}

2021-01-11 02:26:13.203  INFO 4605 --- [           main] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect

2021-01-11 02:26:13.793  INFO 4605 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]

2021-01-11 02:26:13.800  INFO 4605 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'

2021-01-11 02:26:14.132  WARN 4605 --- [           main] 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

2021-01-11 02:26:14.393  INFO 4605 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'

2021-01-11 02:26:14.505  INFO 4605 --- [           main] o.s.b.a.w.s.WelcomePageHandlerMapping    : Adding welcome page: class path resource [static/index.html]

2021-01-11 02:26:14.804  INFO 4605 --- [           main] jpabook.jpashop.MemberRepositoryTest     : Started MemberRepositoryTest in 3.918 seconds (JVM running for 5.13)

2021-01-11 02:26:14.887  INFO 4605 --- [           main] o.s.t.c.transaction.TransactionContext   : Began transaction (1) for test context [DefaultTestContext@712625fd testClass = MemberRepositoryTest, testInstance = jpabook.jpashop.MemberRepositoryTest@3180aee, testMethod = testMember@MemberRepositoryTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@7bba5817 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@55ca8de8, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@6f3b5d16, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6295d394, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@436a4e4b, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@a4102b8, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@543788f3], 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]]; transaction manager [org.springframework.orm.jpa.JpaTransactionManager@61bf405d]; rollback [false]

2021-01-11 02:26:15.091  INFO 4605 --- [           main] o.s.t.c.transaction.TransactionContext   : Committed transaction for test: [DefaultTestContext@712625fd testClass = MemberRepositoryTest, testInstance = jpabook.jpashop.MemberRepositoryTest@3180aee, testMethod = testMember@MemberRepositoryTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@7bba5817 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@55ca8de8, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@6f3b5d16, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6295d394, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@436a4e4b, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@a4102b8, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@543788f3], 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]]

2021-01-11 02:26:15.104  INFO 4605 --- [extShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService 'applicationTaskExecutor'

2021-01-11 02:26:15.106  INFO 4605 --- [extShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'

2021-01-11 02:26:15.106  INFO 4605 --- [extShutdownHook] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'

2021-01-11 02:26:15.117  INFO 4605 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...

2021-01-11 02:26:15.133  INFO 4605 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.

Process finished with exit code 0

0

보아닌님의 프로필

보아닌

질문자

2021.01.11

H2 DB를 종료한 상태에서도 

관련 로그가 출력되지 않습니다..

0

로그를 확인해보니 jdbc:h2:mem:feb48191-6292-46b7-ab53-381c5e7d9273 이런 것이 보이네요.

application.yml을 다시 한번 확인해주세요^^!

(띄어쓰기가 2칸 단위로 매우 중요합니다.)

spring:

  datasource:

    url: jdbc:h2:tcp://localhost/~/jpashop

    username: sa

    password:

    driver-class-name: org.h2.Driver

  jpa:

    hibernate:

      ddl-auto: create

    properties:

      hibernate:

#        show_sql: true

        format_sql: true

logging.level:

  org.hibernate.SQL: debug

#  org.hibernate.type: trace

0

보아닌님의 프로필

보아닌

질문자

2021.01.10

/usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:/home/youns/temp/idea-IC-203.5981.155/lib/idea_rt.jar=35383:/home/youns/temp/idea-IC-203.5981.155/bin -Dfile.encoding=UTF-8 -classpath /home/youns/temp/idea-IC-203.5981.155/lib/idea_rt.jar:/home/youns/temp/idea-IC-203.5981.155/plugins/junit/lib/junit5-rt.jar:/home/youns/temp/idea-IC-203.5981.155/plugins/junit/lib/junit-rt.jar:/home/youns/temp/jpashop/out/test/classes:/home/youns/temp/jpashop/out/production/classes:/home/youns/temp/jpashop/out/production/resources:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-data-jpa/2.4.1/7801874040c4c3050ebd4b5fee572f72e26219b0/spring-boot-starter-data-jpa-2.4.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-thymeleaf/2.4.1/d8eaea235e36763532110e0ea0ea76515abd1829/spring-boot-starter-thymeleaf-2.4.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-web/2.4.1/fb70dcc55475177dd404c5577c6d64b6c591c9cd/spring-boot-starter-web-2.4.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-devtools/2.4.1/22d4eca38aa8a7304bccc845a3cca42c77d3e9a2/spring-boot-devtools-2.4.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-jdbc/2.4.1/8bce44479b03c6418f91370063ca770ca3ec6184/spring-boot-starter-jdbc-2.4.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/junit/junit/4.12/2973d150c0dc1fefe998f834810d68f278ea58ec/junit-4.12.jar:/home/youns/.gradle/caches/modules-2/files-2.1/com.github.gavlyukovskiy/p6spy-spring-boot-starter/1.6.3/28d0c54ec4fd192797356158c23403f7a54ae0d4/p6spy-spring-boot-starter-1.6.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-test/2.4.1/50147ab5f3b431a397d27e2c0af313b9147cd058/spring-boot-starter-test-2.4.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-aop/2.4.1/316d517012a03f9c039301f6013bbd952571e10f/spring-boot-starter-aop-2.4.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/jakarta.transaction/jakarta.transaction-api/1.3.3/c4179d48720a1e87202115fbed6089bdc4195405/jakarta.transaction-api-1.3.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/jakarta.persistence/jakarta.persistence-api/2.2.3/8f6ea5daedc614f07a3654a455660145286f024e/jakarta.persistence-api-2.2.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.hibernate/hibernate-core/5.4.25.Final/926c7e94ef1368a181bafa5b1de2fd30ae34c20d/hibernate-core-5.4.25.Final.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.data/spring-data-jpa/2.4.2/7fc429eb1890c6ba63b6ecb0533a99b6147004e1/spring-data-jpa-2.4.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aspects/5.3.2/a93e6d94a8492d128af2382fe8333188db70927/spring-aspects-5.3.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter/2.4.1/15d81ffe81e26de37986d491e1cf4c1e3a324ca3/spring-boot-starter-2.4.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.thymeleaf/thymeleaf-spring5/3.0.11.RELEASE/de7bf0adf13b5e9c4811f95edf18279da193c0c6/thymeleaf-spring5-3.0.11.RELEASE.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.thymeleaf.extras/thymeleaf-extras-java8time/3.0.4.RELEASE/36e7175ddce36c486fff4578b5af7bb32f54f5df/thymeleaf-extras-java8time-3.0.4.RELEASE.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-json/2.4.1/5a4b7088c88be531cb416ef218da3e19309f8cea/spring-boot-starter-json-2.4.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-tomcat/2.4.1/92c0d7938bdf47fb9d3781aef94b07f5a940a263/spring-boot-starter-tomcat-2.4.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webmvc/5.3.2/6c1106b59db4c91682b740d2deaa3f02400ea8c8/spring-webmvc-5.3.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/5.3.2/5ea6e1536ee6a70bb5c2efbd579c688c09a93a4b/spring-web-5.3.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-autoconfigure/2.4.1/9af62d8d15ee71efb9baf35dc5263fc953230ab1/spring-boot-autoconfigure-2.4.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot/2.4.1/92bf6245c590b56ecb10d8d39ffe04ab0cdfee9/spring-boot-2.4.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/com.zaxxer/HikariCP/3.4.5/aa1a2c00aae8e4ba8308e19940711bb9525b103d/HikariCP-3.4.5.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework/spring-jdbc/5.3.2/9c1d028a63d9df3c692a105c107cbeeed835d966/spring-jdbc-5.3.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest-core/2.2/3f2bd07716a31c395e2837254f37f21f0f0ab24b/hamcrest-core-2.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/com.github.gavlyukovskiy/datasource-decorator-spring-boot-autoconfigure/1.6.3/133680835425b0cb443684fb67422d46c24c765a/datasource-decorator-spring-boot-autoconfigure-1.6.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/p6spy/p6spy/3.9.0/7fedf78cc1e53a623a7b36d1f2705790836400aa/p6spy-3.9.0.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-test-autoconfigure/2.4.1/1890c6d00ad76a01d3a0011634b0d77e42142ccb/spring-boot-test-autoconfigure-2.4.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-test/2.4.1/f8fc754a9e85dbebc9d8c58f8aa3f5b55c831de9/spring-boot-test-2.4.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/com.jayway.jsonpath/json-path/2.4.0/765a4401ceb2dc8d40553c2075eb80a8fa35c2ae/json-path-2.4.0.jar:/home/youns/.gradle/caches/modules-2/files-2.1/jakarta.xml.bind/jakarta.xml.bind-api/2.3.3/48e3b9cfc10752fba3521d6511f4165bea951801/jakarta.xml.bind-api-2.3.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.assertj/assertj-core/3.18.1/aaa02680dd92a568a4278bb40aa4a6305f632ec0/assertj-core-3.18.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.hamcrest/hamcrest/2.2/1820c0968dba3a11a1b30669bb1f01978a91dedc/hamcrest-2.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter/5.7.0/3152d152da916ccbb0715f89f7f873f45362ad7f/junit-jupiter-5.7.0.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.mockito/mockito-junit-jupiter/3.6.28/23149890c3b6047604a682aa3d47151d440e1bfa/mockito-junit-jupiter-3.6.28.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.mockito/mockito-core/3.6.28/ad16f503916da658bd7b805816ae3b296f3eea4c/mockito-core-3.6.28.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.skyscreamer/jsonassert/1.5.0/6c9d5fe2f59da598d9aefc1cfc6528ff3cf32df3/jsonassert-1.5.0.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework/spring-test/5.3.2/34664d994a70997529e3dc86c56ccf4deef61490/spring-test-5.3.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.3.2/152489ed8223a6ad19065a3cd1ee6b9e20c0b82f/spring-core-5.3.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.xmlunit/xmlunit-core/2.7.0/4d014eac96329c70175116b185749765cee0aad5/xmlunit-core-2.7.0.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework/spring-aop/5.3.2/c01aecb495a37786b5d6b7e9701c6f78353b61e6/spring-aop-5.3.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.aspectj/aspectjweaver/1.9.6/ee3b73aa16df35179255f17354d9dfd8e7822835/aspectjweaver-1.9.6.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.glassfish.jaxb/jaxb-runtime/2.3.3/c46b68a6e3a2d84ba4eb14c6a8a1a9a7be4048bc/jaxb-runtime-2.3.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.hibernate.common/hibernate-commons-annotations/5.1.2.Final/e59ffdbc6ad09eeb33507b39ffcf287679a498c8/hibernate-commons-annotations-5.1.2.Final.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.jboss.logging/jboss-logging/3.4.1.Final/40fd4d696c55793e996d1ff3c475833f836c2498/jboss-logging-3.4.1.Final.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.javassist/javassist/3.27.0-GA/f63e6aa899e15eca8fdaa402a79af4c417252213/javassist-3.27.0-GA.jar:/home/youns/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy/1.10.18/20240291b4f14ffe986e45468b1f1a3c15edc37c/byte-buddy-1.10.18.jar:/home/youns/.gradle/caches/modules-2/files-2.1/antlr/antlr/2.7.7/83cd2cd674a217ade95a4bb83a8a14f351f48bd0/antlr-2.7.7.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.jboss/jandex/2.1.3.Final/cd56603e39eb1421560b71daa584348ecfd9e0b8/jandex-2.1.3.Final.jar:/home/youns/.gradle/caches/modules-2/files-2.1/com.fasterxml/classmate/1.5.1/3fe0bed568c62df5e89f4f174c101eab25345b6c/classmate-1.5.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.dom4j/dom4j/2.1.3/a75914155a9f5808963170ec20653668a2ffd2fd/dom4j-2.1.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework/spring-orm/5.3.2/ce3d41f6a4f0f26c41171299888c49e020e4f443/spring-orm-5.3.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework/spring-context/5.3.2/83ff3909a582eceb5c8ae152f1e510672106f42b/spring-context-5.3.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.data/spring-data-commons/2.4.2/30f16a7d7653d036e38e2e894a6456849e503f/spring-data-commons-2.4.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework/spring-tx/5.3.2/b0cd6f30a39666e28006a23059a600986dfcbbe1/spring-tx-5.3.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework/spring-beans/5.3.2/289d8047f7cc524d60ca0c4cc6fedb8cb003e02d/spring-beans-5.3.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-api/1.7.30/b5a4b6d16ab13e34a88fae84c35cd5d68cac922c/slf4j-api-1.7.30.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot-starter-logging/2.4.1/5e83cd807e8fe6a25dd36a37ad9222e9d1309336/spring-boot-starter-logging-2.4.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/jakarta.annotation/jakarta.annotation-api/1.3.5/59eb84ee0d616332ff44aba065f3888cf002cd2d/jakarta.annotation-api-1.3.5.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.yaml/snakeyaml/1.27/359d62567480b07a679dc643f82fc926b100eed5/snakeyaml-1.27.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.thymeleaf/thymeleaf/3.0.11.RELEASE/628ebb91f520053d4120b7b18bf78ff295d57461/thymeleaf-3.0.11.RELEASE.jar:/home/youns/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.datatype/jackson-datatype-jdk8/2.11.3/dcdfce3e4af9da18d69b1be6f3d7c91256105831/jackson-datatype-jdk8-2.11.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.datatype/jackson-datatype-jsr310/2.11.3/dd53d93fd448b345eeb75bec336d9c91dc56b796/jackson-datatype-jsr310-2.11.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.module/jackson-module-parameter-names/2.11.3/ab66d5c5b8008161ae89be8a3d98efff9ef1b915/jackson-module-parameter-names-2.11.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-databind/2.11.3/4f7b27416934dc929bb6c2d2c5fe521829e6a4ec/jackson-databind-2.11.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-websocket/9.0.41/b6e5fdc2a4088c340d0916468d7e2ecff71d83d/tomcat-embed-websocket-9.0.41.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/9.0.41/a43e9711e85073187d04b137882b4b7957180ef0/tomcat-embed-core-9.0.41.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.glassfish/jakarta.el/3.0.3/dab46ee1ee23f7197c13d7c40fce14817c9017df/jakarta.el-3.0.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework/spring-expression/5.3.2/31cfebc4f74de54ddf4298cc6fa4de4090486c41/spring-expression-5.3.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/net.minidev/json-smart/2.3/7396407491352ce4fa30de92efb158adb76b5b/json-smart-2.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/jakarta.activation/jakarta.activation-api/1.2.2/99f53adba383cb1bf7c3862844488574b559621f/jakarta.activation-api-1.2.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-params/5.7.0/521dbecace93d5d7ef13a74aab231befd7954424/junit-jupiter-params-5.7.0.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-api/5.7.0/b25f3815c4c1860a73041e733a14a0379d00c4d5/junit-jupiter-api-5.7.0.jar:/home/youns/.gradle/caches/modules-2/files-2.1/net.bytebuddy/byte-buddy-agent/1.10.18/1070e69ef571b326d91819b57bd06fd7efc60819/byte-buddy-agent-1.10.18.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.objenesis/objenesis/3.1/48f12deaae83a8dfc3775d830c9fd60ea59bbbca/objenesis-3.1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/com.vaadin.external.google/android-json/0.0.20131108.vaadin1/fa26d351fe62a6a17f5cda1287c1c6110dec413f/android-json-0.0.20131108.vaadin1.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.springframework/spring-jcl/5.3.2/5a9fc63ea825fe0de40cefd6d4985490ceabefbb/spring-jcl-5.3.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.glassfish.jaxb/txw2/2.3.3/12f70b0ea4fc1ad45315e842f63f7c9a46f46530/txw2-2.3.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/com.sun.istack/istack-commons-runtime/3.0.11/4293b5f4e4e89d598f62bb2ba73b32132e7c3a27/istack-commons-runtime-3.0.11.jar:/home/youns/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-classic/1.2.3/7c4f3c474fb2c041d8028740440937705ebb473a/logback-classic-1.2.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-to-slf4j/2.13.3/966f6fd1af4959d6b12bfa880121d4a2b164f857/log4j-to-slf4j-2.13.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.slf4j/jul-to-slf4j/1.7.30/d58bebff8cbf70ff52b59208586095f467656c30/jul-to-slf4j-1.7.30.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.attoparser/attoparser/2.0.5.RELEASE/a93ad36df9560de3a5312c1d14f69d938099fa64/attoparser-2.0.5.RELEASE.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.unbescape/unbescape/1.1.6.RELEASE/7b90360afb2b860e09e8347112800d12c12b2a13/unbescape-1.1.6.RELEASE.jar:/home/youns/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-core/2.11.3/c2351800432bdbdd8284c3f5a7f0782a352aa84a/jackson-core-2.11.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/com.fasterxml.jackson.core/jackson-annotations/2.11.3/25d4e9c777e7a8805c4a000a8629d3009c779c9b/jackson-annotations-2.11.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/net.minidev/accessors-smart/1.2/c592b500269bfde36096641b01238a8350f8aa31/accessors-smart-1.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.apiguardian/apiguardian-api/1.1.0/fc9dff4bb36d627bdc553de77e1f17efd790876c/apiguardian-api-1.1.0.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.junit.platform/junit-platform-commons/1.7.0/84e309fbf21d857aac079a3c1fffd84284e1114d/junit-platform-commons-1.7.0.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.opentest4j/opentest4j/1.2.0/28c11eb91f9b6d8e200631d46e20a7f407f2a046/opentest4j-1.2.0.jar:/home/youns/.gradle/caches/modules-2/files-2.1/ch.qos.logback/logback-core/1.2.3/864344400c3d4d92dfeb0a305dc87d953677c03c/logback-core-1.2.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.13.3/ec1508160b93d274b1add34419b897bae84c6ca9/log4j-api-2.13.3.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm/5.0.4/da08b8cce7bbf903602a25a3a163ae252435795/asm-5.0.4.jar:/home/youns/.gradle/caches/modules-2/files-2.1/com.h2database/h2/1.4.200/f7533fe7cb8e99c87a43d325a77b4b678ad9031a/h2-1.4.200.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.junit.jupiter/junit-jupiter-engine/5.7.0/d9044d6b45e2232ddd53fa56c15333e43d1749fd/junit-jupiter-engine-5.7.0.jar:/home/youns/.gradle/caches/modules-2/files-2.1/com.sun.activation/jakarta.activation/1.2.2/74548703f9851017ce2f556066659438019e7eb5/jakarta.activation-1.2.2.jar:/home/youns/.gradle/caches/modules-2/files-2.1/org.junit.platform/junit-platform-engine/1.7.0/eadb73c5074a4ac71061defd00fc176152a4d12c/junit-platform-engine-1.7.0.jar com.intellij.rt.junit.JUnitStarter -ideVersion5 -junit4 jpabook.jpashop.MemberRepositoryTest,testMember

23:38:28.612 [main] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class jpabook.jpashop.MemberRepositoryTest]

23:38:28.618 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]

23:38:28.633 [main] 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)]

23:38:28.720 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [jpabook.jpashop.MemberRepositoryTest] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]

23:38:28.736 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [jpabook.jpashop.MemberRepositoryTest], using SpringBootContextLoader

23:38:28.741 [main] 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

23:38:28.743 [main] 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

23:38:28.743 [main] 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}.

23:38:28.745 [main] 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.

23:38:28.975 [main] 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]

23:38:29.181 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/home/youns/temp/jpashop/out/production/classes/jpabook/jpashop/JpashopApplication.class]

23:38:29.192 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration jpabook.jpashop.JpashopApplication for test class jpabook.jpashop.MemberRepositoryTest

23:38:29.528 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [jpabook.jpashop.MemberRepositoryTest]: using defaults.

23:38:29.530 [main] 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.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]

23:38:29.572 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@3f6f6701, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3527942a, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@942a29c, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@1ed6388a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5a45133e, org.springframework.test.context.transaction.TransactionalTestExecutionListener@534a5a98, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@4f80542f, org.springframework.test.context.event.EventPublishingTestExecutionListener@60bd273d, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@121314f7, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@130c12b7, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@5e600dd5, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@576d5deb, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@5d534f5d, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@2e3967ea]

23:38:29.579 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest]

23:38:29.580 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest]

23:38:29.606 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest]

23:38:29.607 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest]

23:38:29.608 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest]

23:38:29.609 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest]

23:38:29.609 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest]

23:38:29.610 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest]

23:38:29.617 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@543295b0 testClass = MemberRepositoryTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@54422e18 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@3ec300f1, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@3ee0fea4, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@7920ba90, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@5906ebcb, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@15761df8, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@376b4233], 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].

23:38:29.627 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [jpabook.jpashop.MemberRepositoryTest]

23:38:29.627 [main] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [jpabook.jpashop.MemberRepositoryTest]

23:38:29.682 [main] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}

  .   ____          _            __ _ _

 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \

( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \

 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )

  '  |____| .__|_| |_|_| |_\__, | / / / /

 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v2.4.1)

2021-01-10 23:38:30.342  INFO 7496 --- [           main] jpabook.jpashop.MemberRepositoryTest     : Starting MemberRepositoryTest using Java 11.0.9.1 on youns with PID 7496 (started by youns in /home/youns/temp/jpashop)

2021-01-10 23:38:30.346  INFO 7496 --- [           main] jpabook.jpashop.MemberRepositoryTest     : No active profile set, falling back to default profiles: default

2021-01-10 23:38:31.893  INFO 7496 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.

2021-01-10 23:38:31.922  INFO 7496 --- [           main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 13 ms. Found 0 JPA repository interfaces.

2021-01-10 23:38:33.069  INFO 7496 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...

2021-01-10 23:38:33.375  INFO 7496 --- [           main] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.

2021-01-10 23:38:33.534  INFO 7496 --- [           main] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]

2021-01-10 23:38:33.628  INFO 7496 --- [           main] org.hibernate.Version                    : HHH000412: Hibernate ORM core version 5.4.25.Final

2021-01-10 23:38:33.855  INFO 7496 --- [           main] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}

2021-01-10 23:38:34.037  INFO 7496 --- [           main] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect

2021-01-10 23:38:34.843  INFO 7496 --- [           main] p6spy                                    : #1610289514843 | took 1ms | statement | connection 2| url jdbc:h2:mem:feb48191-6292-46b7-ab53-381c5e7d9273

drop table if exists member CASCADE 

drop table if exists member CASCADE ;

2021-01-10 23:38:34.844  INFO 7496 --- [           main] p6spy                                    : #1610289514844 | took 0ms | statement | connection 2| url jdbc:h2:mem:feb48191-6292-46b7-ab53-381c5e7d9273

drop sequence if exists hibernate_sequence

drop sequence if exists hibernate_sequence;

2021-01-10 23:38:34.848  INFO 7496 --- [           main] p6spy                                    : #1610289514848 | took 1ms | statement | connection 3| url jdbc:h2:mem:feb48191-6292-46b7-ab53-381c5e7d9273

create sequence hibernate_sequence start with 1 increment by 1

create sequence hibernate_sequence start with 1 increment by 1;

2021-01-10 23:38:34.858  INFO 7496 --- [           main] p6spy                                    : #1610289514858 | took 8ms | statement | connection 3| url jdbc:h2:mem:feb48191-6292-46b7-ab53-381c5e7d9273

create table member (id bigint not null, username varchar(255), primary key (id))

create table member (id bigint not null, username varchar(255), primary key (id));

2021-01-10 23:38:34.862  INFO 7496 --- [           main] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]

2021-01-10 23:38:34.873  INFO 7496 --- [           main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'

2021-01-10 23:38:35.430  WARN 7496 --- [           main] 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

2021-01-10 23:38:35.868  INFO 7496 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'

2021-01-10 23:38:36.056  INFO 7496 --- [           main] o.s.b.a.w.s.WelcomePageHandlerMapping    : Adding welcome page: class path resource [static/index.html]

2021-01-10 23:38:36.713  INFO 7496 --- [           main] jpabook.jpashop.MemberRepositoryTest     : Started MemberRepositoryTest in 7.017 seconds (JVM running for 8.968)

2021-01-10 23:38:36.902  INFO 7496 --- [           main] o.s.t.c.transaction.TransactionContext   : Began transaction (1) for test context [DefaultTestContext@543295b0 testClass = MemberRepositoryTest, testInstance = jpabook.jpashop.MemberRepositoryTest@67292fc7, testMethod = testMember@MemberRepositoryTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@54422e18 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@3ec300f1, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@3ee0fea4, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@7920ba90, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@5906ebcb, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@15761df8, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@376b4233], 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]]; transaction manager [org.springframework.orm.jpa.JpaTransactionManager@3211cc84]; rollback [false]

2021-01-10 23:38:37.140  INFO 7496 --- [           main] p6spy                                    : #1610289517140 | took 7ms | statement | connection 5| url jdbc:h2:mem:feb48191-6292-46b7-ab53-381c5e7d9273

call next value for hibernate_sequence

call next value for hibernate_sequence;

2021-01-10 23:38:37.309  INFO 7496 --- [           main] p6spy                                    : #1610289517309 | took 1ms | statement | connection 5| url jdbc:h2:mem:feb48191-6292-46b7-ab53-381c5e7d9273

insert into member (username, id) values (?, ?)

insert into member (username, id) values ('memberA', 1);

2021-01-10 23:38:37.312  INFO 7496 --- [           main] p6spy                                    : #1610289517312 | took 0ms | commit | connection 5| url jdbc:h2:mem:feb48191-6292-46b7-ab53-381c5e7d9273

;

2021-01-10 23:38:37.314  INFO 7496 --- [           main] o.s.t.c.transaction.TransactionContext   : Committed transaction for test: [DefaultTestContext@543295b0 testClass = MemberRepositoryTest, testInstance = jpabook.jpashop.MemberRepositoryTest@67292fc7, testMethod = testMember@MemberRepositoryTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@54422e18 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@3ec300f1, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@3ee0fea4, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@7920ba90, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@5906ebcb, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@15761df8, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@376b4233], 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]]

2021-01-10 23:38:37.336  INFO 7496 --- [extShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService 'applicationTaskExecutor'

2021-01-10 23:38:37.337  INFO 7496 --- [extShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'

2021-01-10 23:38:37.337  INFO 7496 --- [extShutdownHook] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down'

2021-01-10 23:38:37.348  INFO 7496 --- [extShutdownHook] p6spy                                    : #1610289517348 | took 9ms | statement | connection 6| url jdbc:h2:mem:feb48191-6292-46b7-ab53-381c5e7d9273

drop table if exists member CASCADE 

drop table if exists member CASCADE ;

2021-01-10 23:38:37.350  INFO 7496 --- [extShutdownHook] p6spy                                    : #1610289517350 | took 1ms | statement | connection 6| url jdbc:h2:mem:feb48191-6292-46b7-ab53-381c5e7d9273

drop sequence if exists hibernate_sequence

drop sequence if exists hibernate_sequence;

2021-01-10 23:38:37.379  INFO 7496 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...

2021-01-10 23:38:37.405  INFO 7496 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.

Process finished with exit code 0

여기까지입니다

0

안녕하세요. 보아닌님

전체 실행 로그를 모두 남겨주시겠어요?