title: What's the meaning of properties of persistence.xml file
body: <p>I'm studying the hibernate framework, and I would like to know where can I get information about de properties that we need to include in the file persistence.xml </p>
  
  <p>I search about the propertie provider, but I don't get specific information, sombody help me :D </p>
  
  <pre><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_2_0.xsd"
  version="2.0"&gt;
  &lt;persistence-unit name="tarefas"&gt;
      &lt;!-- provedor/implementacao do JPA --&gt;
      &lt;provider&gt;org.hibernate.ejb.HibernatePersistence&lt;/provider&gt;
      &lt;!-- entidade mapeada --&gt;
      &lt;properties&gt;
          &lt;!-- dados da conexao --&gt;
          &lt;property name="javax.persistence.jdbc.driver" value="com.mysql.jdbc.Driver" /&gt;
          &lt;property name="javax.persistence.jdbc.url" value="jdbc:mysql://localhost:3306/jpa" /&gt;
          &lt;property name="javax.persistence.jdbc.user" value="root" /&gt;
          &lt;property name="javax.persistence.jdbc.password" value="root" /&gt;
          &lt;!-- propriedades do hibernate --&gt;
          &lt;property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5InnoDBDialect" /&gt;
          &lt;property name="hibernate.show_sql" value="true" /&gt;
          &lt;property name="hibernate.format_sql" value="true" /&gt;
          &lt;!-- atualiza o banco, gera as tabelas se for preciso --&gt;
          &lt;property name="hibernate.hbm2ddl.auto" value="update" /&gt;
      &lt;/properties&gt;
  &lt;/persistence-unit&gt;
  </code></pre>