The Criterian object has a toString method that will display part of what your looking for.
Just do a syserr out to console with the criteria object. I dont think this will give you your passed parameters, but it will give you your logic.
For the parameters just do a syserr for those values at that point.
You can also add some keys to your hibernate.cfg.xml file that will pretty print your sql as it's called.
Code:
<!-- Echo all executed SQL to stdout -->
<property name="show_sql">true</property>
<!-- Pretty print SQL to log/console -->
<property name="hibernate.format_sql">true</property>