Possible duplicate:
Print a query string in sleep mode with parameter values
I use Hibernate as a save layer. And I set show_sql to true to view debug information.
However, in fact, I do not see the full information, because most SQL statements are like:
insert into Address (address1, address2, city, province) values (?, ?, ?, ?)
all parameters are question marks, although I can see some factual data in some part of the condition of the select statement.
I want the information to be like:
insert into Address (address1, address2, city, province) values ("XXX address1", "XX address2", "XXX city", "XXX province")
How to configure viewing parameters of these parameters or is it a drawback in sleep mode ??
source share