title: How to create Objects in database if does not exists with JPA?
body: <p>I have a web application that I use JPA / Hibernate I want to know how to hibernate can generate the  non-existent tables from entities.
  the persistence file is as follows:</p>
  
  <p>What I can add as property ?</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;persistence xmlns="http://java.sun.com/xml/ns/persistence"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
          http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
      version="1.0"&gt;
      &lt;persistence-unit name="BankingApp"&gt;
          &lt;provider&gt; org.hibernate.ejb.HibernatePersistence&lt;/provider&gt;
          &lt;properties&gt;
  
              &lt;property name="hibernate.connection.driver_class" value="oracle.jdbc.driver.OracleDriver"/&gt;
              &lt;property name="hibernate.connection.url" value="jdbc:oracle:thin:@localhost:1521:XE"/&gt;
              &lt;property name="hibernate.connection.username" value="user"/&gt;
              &lt;property name="hibernate.connection.password" value="password"/&gt;
              &lt;property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/&gt;
  
          &lt;/properties&gt;
      &lt;/persistence-unit&gt;
  &lt;/persistence&gt;
  </code></pre>