We have to configure hibernate, if we require the application to create the table when it doesn't already exists. Else, we would end up with the below mentioned exception.
ERROR: ERROR: relation "mytable" does not exist
Position: 13
org.hibernate.exception.SQLGrammarException: could not execute statement
at org.hibernate.exception …