인프런 커뮤니티 질문&답변

박굿뜨님의 프로필 이미지
박굿뜨

작성한 질문수

실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발

JPA와 DB 설정, 동작확인

Logging 에 Insert 부분이 안찍히는 이유가 뭘까요?

작성

·

262

0

2020-02-22 17:52:20.751 DEBUG 29084 --- [           main] org.hibernate.SQL                        : 

 <선생님의 강의에서 insert 가 찍히는 부분입니다.>

    call next value for hibernate_sequence

2020-02-22 17:52:20.873  INFO 29084 --- [           main] o.s.t.c.transaction.TransactionContext   : Rolled back transaction for test: [DefaultTestContext@1722011b testClass = MemberRepositoryTest, testInstance = jpabook.jpashop.MemberRepositoryTest@75f2ff80, testMethod = testMember@MemberRepositoryTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@57ad2aa7 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.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@3bd82cf5, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@24313fcc, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@41a2befb, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@bccb269], 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]]

2020-02-22 17:52:20.881  INFO 29084 --- [       Thread-2] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService 'applicationTaskExecutor'

2020-02-22 17:52:20.881  INFO 29084 --- [       Thread-2] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'

2020-02-22 17:52:20.882 TRACE 29084 --- [       Thread-2] o.h.type.spi.TypeConfiguration$Scope     : Handling #sessionFactoryClosed from [org.hibernate.internal.SessionFactoryImpl@56d6a1b1] for TypeConfiguration

2020-02-22 17:52:20.882 DEBUG 29084 --- [       Thread-2] o.h.type.spi.TypeConfiguration$Scope     : Un-scoping TypeConfiguration [org.hibernate.type.spi.TypeConfiguration$Scope@1498022] from SessionFactory [org.hibernate.internal.SessionFactoryImpl@56d6a1b1]

2020-02-22 17:52:20.888  INFO 29084 --- [       Thread-2] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown initiated...

2020-02-22 17:52:20.903  INFO 29084 --- [       Thread-2] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Shutdown completed.

답변 2

0

김영한님의 프로필 이미지
김영한
지식공유자

네 지금 보고 분석해보려고 했는데 다행입니다^^! ㅎㅎ

0

박굿뜨님의 프로필 이미지
박굿뜨
질문자

죄송합니다 오늘 재실행하니깐 제대로 찍히네요 ㅎㅎ..

부디 이 질문에 시간낭비 안하셨기를..

박굿뜨님의 프로필 이미지
박굿뜨

작성한 질문수

질문하기