title: Hibernate / seam : hibernate.show_sql setting
body: <pre><code>   &lt;persistence-unit name="acmDB" transaction-type="RESOURCE_LOCAL"&gt;
        &lt;provider&gt;org.hibernate.ejb.HibernatePersistence&lt;/provider&gt;
        &lt;jta-data-source&gt;acm20-ds&lt;/jta-data-source&gt;
        &lt;properties&gt;
           &lt;property name="hibernate.dialect" value="org.hibernate.dialect.OracleDialect"/&gt;
           &lt;property name="hibernate.hbm2ddl.auto" value="update"/&gt;
           &lt;property name="hibernate.show_sql" value="false"/&gt;
           &lt;property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/&gt;
           &lt;property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.WeblogicTransactionManagerLookup"/&gt;         
        &lt;/properties&gt;
     &lt;/persistence-unit&gt;
  </code></pre>
  
  <p>Sometimes I set <code>hibernate.show_sql</code> to true</p>
  
  <p>But then I have to restart the application server again. I am using Weblogic 10 and JRebel.</p>
  
  <p>Is it possible to set <code>hibernate.show_sql</code> to true in code at the location I need it?</p>