I\'m trying simply to get the values that Hibernate is binding to the queries behind the question marks \"?\" on JBoss 7.
So I\'m editing standalone/configuration/
Wow, it's not really like the previous versions... I've finally found the offical way to configure JBoss 7 logging and the logging configuration of Hibernate 4 !
What you have to do is edit standalone/configuration/standalone.xml
(the configuration file of your domain
) and search for the
tag.
Then in the
.
Here is the partial XML :
...
...
I've found another and better (because it logs all the JDBC method calls, not only basic binding) solution from a blog post: add spy="true"
in the
declaration and TRACE
logs from category jboss.jdbc.spy
:
and the logger (in
):