title: How to make hbm2ddl schemaExport to log schema to stdout?
body: <p>A quote from <code>persistence.xml</code>:</p>
  
  <pre><code>&lt;persistence-unit name="test" transaction-type="RESOURCE_LOCAL"&gt;
      &lt;properties&gt;
          &lt;property name="hibernate.archive.autodetection" value="class" /&gt;
          &lt;property name="hibernate.show_sql" value="true" /&gt;
          &lt;property name="hibernate.format_sql" value="true" /&gt;
          &lt;property name="hibernate.hbm2ddl.auto" value="create" /&gt;
          ...
      &lt;/properties&gt;
  &lt;/persistence-unit&gt;
  </code></pre>
  
  <p>This is what I see in log output:</p>
  
  <pre><code>Sep 30, 2010 12:03:43 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
  INFO: Running hbm2ddl schema export
  Sep 30, 2010 12:03:43 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
  INFO: exporting generated schema to database
  Sep 30, 2010 12:03:43 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
  INFO: schema export complete
  </code></pre>
  
  <p>But I don't see the schema (SQL) exported itself. How to get this information out of Hibernate (3.5.6-Final)?</p>