<!-- Log the values assigned to the SQL parameters and results --> <category name="org.hibernate.type"> <priority value="DEBUG"/> <appender-ref ref="APPLICATIONNAME_FILE" /> </category>
It prints the sql and other stuff , but it dosnt print the parameters.
Can you please help?
posted 9 years ago
open your JBoss' log4j.xml or jboss-log4j.xml (depends on your JBoss version) and add the following lines instead of yours above:
You were quite near a solution . You only had the log level too high. Use TRACE instead of DEBUG. The category for logging parameter binding as you already mentioned is org.hibernate.type at the TRACE log level.
After that you can find log entries similar to:
Good Luck, Darya [ September 13, 2007: Message edited by: Darya Akbari ]
SCJP, SCJD, SCWCD, SCBCD
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads