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

작성자 없음

작성자 정보가 삭제된 글입니다.

스프링 DB 1편 - 데이터 접근 핵심 원리

hikari 커넥션 풀 초기화 정보 출력

작성

·

138

0

이런거 저는 안 뜨는데 뭘 어떻게 해야 하나요

 

[MyPool connection adder] MyPool - Added connection conn0: url=jdbc:h2:..

user=SA

[MyPool connection adder] MyPool - Added connection conn1: url=jdbc:h2:..

user=SA

[MyPool connection adder] MyPool - Added connection conn2: url=jdbc:h2:..

user=SA

[MyPool connection adder] MyPool - Added connection conn3: url=jdbc:h2:..

user=SA

[MyPool connection adder] MyPool - Added connection conn4: url=jdbc:h2:..

user=SA

...

[MyPool connection adder] MyPool - Added connection conn9: url=jdbc:h2:..

user=SA

 

 

답변 1

0

13:28:35.488 [main] INFO com.zaxxer.hikari.HikariDataSource -- MyPool - Starting...

13:28:35.718 [main] INFO com.zaxxer.hikari.pool.HikariPool -- MyPool - Added connection conn0: url=jdbc:h2:tcp://localhost/~/test user=SA

13:28:35.723 [main] INFO com.zaxxer.hikari.HikariDataSource -- MyPool - Start completed.

13:28:35.748 [main] INFO hello.jdbc.connection.ConnectionTest -- conncetion=HikariProxyConnection@1025309396 wrapping conn0: url=jdbc:h2:tcp://localhost/~/test user=SA, class=class com.zaxxer.hikari.pool.HikariProxyConnection

13:28:35.754 [main] INFO hello.jdbc.connection.ConnectionTest -- conncetion=HikariProxyConnection@1728579441 wrapping conn1: url=jdbc:h2:tcp://localhost/~/test user=SA, class=class com.zaxxer.hikari.pool.HikariProxyConnection

Process finished with exit code 0

 

이렇게만 뜨네요

작성자 없음

작성자 정보가 삭제된 글입니다.

질문하기