6 Replies Latest reply on Oct 19, 2009 5:12 PM by Francisco Jose Peredo Noguez

    How to log the values assigned to the SQL parameters?

    Dmitry Zakharov Newbie
      Hi,

      On my jboss-logj4.xml:

         <category name="org.hibernate.type">
            <priority value="DEBUG"></priority>
         </category>

      and persistence.xml:

      <property name="show_sql">true</property>

      and I can't get my queryparameters, on which I am interested in.

      Can anyone help me understand what am I doing wrong for the hibernate not being logged?
      Is it possible to see the values of a used query with Hibernate?

      I use JBoss 4.2.3, Seam 2.1.2

      Thanks in advance.