[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: hibernate + log4j.xml = can not get it work

PeterJ do-not-reply at jboss.com
Wed Mar 25 17:26:47 EDT 2009


I think what are looking for are the SQL statements used by Hibernate. To get those, add the following entry to your persistence.xml file:

<persistence  ...>
  |    <persistence-unit ...>
  |       ...
  |       <properties>
  |         <property name="hibernate.show_sql" value="true"/>


View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221115#4221115

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221115



More information about the jboss-user mailing list