Possible Duplicate:
Print query string in hibernate with parameter values
I am using Hibernate as the persistence layer. And I am setting show_sql to true in order to see the debug info.
However, I am not actually seeing the complete info, because most of the SQL statements as like:
insert
into
Address
(address1, address2, city, province)
values
(?, ?, ?, ?)
the parameters are all a question mark, though I can see some actual data in some select statement's condition part.
I want the info like:
insert
into
Address
(address1, address2, city, province)
values
("XXX address1", "XX address2", "XXX city", "XXX province")
How can I configure to see those parameter data, or is this a deficiency in hibernate ??