Reputation: 6836
Is it possible in "Nhibernate" to print generated sql queries with real values instead of question marks?
How would you suggest to print queries with real values if its not possible with hibernate api? Using log4j or the .net debugger or others.
All I find is for java already using hibernate but nothing for nbibernate and c.
Upvotes: 1
Views: 898
Reputation: 5629
Maybe not exactly what you are looking for, but just in case:
There are multiple parts of NHibernate that emit the SQL to the log. The logs emitted from the NHibernate.SQL logger will include parameter values. But yes, it will still be a parameterized query.
Upvotes: 1