Search code examples
databasegrailsgroovyh2

Trying to view Table in H2 database While using the Grails as a Framework


recently I am dealing with grails. I am creating a very simple CRUD application without Scaffolding. I have created a Domain class. As I know This domain Class will automatically create a Table in the default H2 database. I am trying to view that table. How can I view The Table which was created in the H2 database? I want To view like the following image.

enter image description here


Solution

  • your grails app should give you the endpoint '/dbconsole' in dev mode. just give it a try!