Hi
I'm a newbie to hibernate. I like to view the sql queries generated by hibernate. Currently i have set the following properties in the hibernate.cfg.xml file.
<property name="show_sql">true</property>
But i like to view the parameters passed as well. The current method only shows the query like
Code:
............................
where
roomtypeli0_.HotelId=?
and roomtypeli0_.BoardTypeId=?
I would like to view values instead of '?'. Is there a way of setting a property in the hibernate.cfg.xml file so that i can view sql queries with parameters. I'm also using slf4j as the loggger so not using a seperate property file. Please help.
Thanks