First off, I looked at several posts relating to hibernate.show_sql, sql output etc. but I did not see any that address what I am interested in.
With hibernate.show_sql="true" in Hibernate 3.0.5 the engine outputs SQL like the following:
Code:
Hibernate: insert into GST_PERSON_ROLE (ROLE_ID) values (?)
Is it possible to have it output the actual values? (ie. something like the following, where the values are displayed not as '?' but as the actual data...or a truncated version of the data values):
Code:
Hibernate: insert into GST_PERSON_ROLE (ROLE_ID) values (32)
Q: If there isn't anything currently available, is there a "best practice" for intercepting/extending this behavior?
Again, if this has already been answered, my apologies, but please provide the link to the answer if that is the case.
Thanks in advance,
John