View data of H2 database during @DataJpaTest cases

Viewed 1875

I am learning spring-boot test and find this article,

4.Integration Testing with @DataJpaTest

How can I view the content of h2 database using the info below by configuring client tool such as intellij-idea's Tool > Database.

Or is there any better way to peek those information.

INFO 11276 --- [ main] o.s.j.d.e.EmbeddedDatabaseFactory : Starting embedded database: url='jdbc:h2:mem:094de3b8-72c0-4740-bdf6-5ae1a36ad9f4;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'

1 Answers
Related