Sometime for the debugging it is really handy, to do it, you need:
log4j.properties
hibernate.cfg.xml
|
Thanks Tommaso Taruffi, http://stackoverflow.com/questions/2536829/hibernate-show-real-sql