Dmitri Bagaev
Dmitri Bagaev

Reputation: 19

Play Framework Application and H2-browser

We have to develop an application using Java Play Framework 2. There is a simple database calling H2, and we can browse it using h2-browser command in play console, but if an application compiled with 'dist' command, we didnotget access to the play console, but we need to debug database. So how can we access h2-browser without play console in 'dist' compiled application.

Thank you for answer. p.s. Sorry for poor english

Upvotes: 0

Views: 450

Answers (1)

biesior
biesior

Reputation: 55798

Download and run the standalone H2 engine and connect to it using ServerMode (from both: Play and browser), link and samples available at H2 docs.

Note performance will drop while using TCP connection so back to Embed solution after debugging if that matters to you.

Upvotes: 0

Related Questions