doc'd format_sql

git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@7665 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Gavin King 2005-07-27 23:35:43 +00:00
parent 883126be26
commit 5d424633e4
1 changed files with 15 additions and 1 deletions

View File

@ -379,7 +379,21 @@ hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect]]></programlisting>
<literal>hibernate.show_sql</literal>
</entry>
<entry>
Write all SQL statements to console.
Write all SQL statements to console. This is an alternative
to setting the log category <literal>org.hibernate.SQL</literal>
to <literal>debug</literal>.
<para>
<emphasis role="strong">eg.</emphasis>
<literal>true</literal> | <literal>false</literal>
</para>
</entry>
</row>
<row>
<entry>
<literal>hibernate.format_sql</literal>
</entry>
<entry>
Pretty print the SQL in the log and console.
<para>
<emphasis role="strong">eg.</emphasis>
<literal>true</literal> | <literal>false</literal>