Inspect in memory hsqldb while debugging

后端 未结 8 2178
面向向阳花
面向向阳花 2020-12-12 13:18

We\'re using hdsqldb in memory to run junit tests which operate against a database. The db is setup before running each test via a spring configuration. All works fine. Now

8条回答
  •  悲&欢浪女
    2020-12-12 14:20

    If you know the table you want to "inspect" at any point you can output its current values to the console.

    https://stackoverflow.com/a/31887249/32453

    You could even do this call in a debugger...

提交回复
热议问题