View content of embedded H2 database started by Spring
问题 I would like to view in a web browser the content of the H2 database started by Spring thanks to the following configuration: <jdbc:embedded-database id="dataSource" type="H2" /> <jdbc:initialize-database data-source="dataSource"> <jdbc:script location="classpath:db/populateDB.sql"/> </jdbc:initialize-database> I searched for the JDBC URL in the logs: DEBUG o.s.j.d.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:h2:mem:dataSource;DB_CLOSE_DELAY=-1] So that I could fill