title: How to view the database tables in application servers?
body: <p>I'm writing Java objects to the built in database using JPA methods like <code>EntityManager#persist</code> and <code>persist</code>. The entity is now stored in a table database. How can I view the contents of the database? I want to see how the object graph was mapped to tables, check how much storage it takes, and so on.</p>
  
  <p>I'm using Wildfly 10.1, Hibernate or EclipseLink and whatever the default database is. I looked in the management console but didn't find the tables. I'm not looking for a software recommendation, tutorial etc. Just for steps to view the database.</p>