강의

멘토링

커뮤니티

Inflearn コミュニティ Q&A

gmldnjs26 のプロフィール画像
gmldnjs26

投稿した質問数

本当! Spring BootとJPAの活用1 - Webアプリケーション開発

JPAとDB設定、動作確認

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

作成

·

358

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.

웹앱javaspring-bootJPAspring

回答 2

0

yh님의 프로필 이미지
yh
インストラクター

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

0

gmldnjs26님의 프로필 이미지
gmldnjs26
質問者

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

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

gmldnjs26 のプロフィール画像
gmldnjs26

投稿した質問数

質問する