Is there a way to access the full SQL query, including the values, inside my code?
I am able to log SQL queries using log4net:
Either use sql profiler or have a look at nhprof at http://nhprof.com/
Both will let you see sql output.
Also set the show_sql property in hibernate config file
true