When using JPA with
EJB, I can persist an entity, without explicitly creating a table with that name. JPA creates a table before persisting the entity into it.
But when I used Hibernate, I can't save an entity, without creating the table. It said "Table not found exception".
I had to explicitly create a table before persisting entities.
Isn't their any way to automatically create a table when it is needed by Hibernate?