1 Reply Latest reply on Oct 18, 2005 12:20 PM by elkner

    How to get the automatically generated sql code

    alexian

      Hi! I'm not sure if it is the right forum where to post in.
      However I want to ask if there is a possibility to get the sql code generated from a calling as "getId()" or similars.

      Thanx in advance!

        • 1. Re: How to get the automatically generated sql code
          elkner

          /opt/jboss40/server/default/conf/log4j.xml:

          <category name="org.hibernate.type">
           <priority value="INFO"/>
           </category>
           <category name="org.hibernate.event.def">
           <priority value="INFO"/>
           </category>
           <category name="org.hibernate.engine.Cascades">
           <priority value="INFO"/>
           </category>
           <category name="org.hibernate.SQL">
           <priority value="DEBUG"/>
           </category>


          or something like that might help.