Logging NHibernate SQL with log4net in ASP.NET(leniel.net)
submitted by
leniel(489) 2 years, 8 months ago
Have you ever wondered how to log the SQL generated by NHibernate? This post tries to exemplify just that. NHibernate uses HQL to leverage its expressiveness to the developer, but behind the scenes there is an engine that transforms the HQL into pure SQL that is executed against the database. This SQL can be logged so that you can see its...
|category: ASP.NET
|Views: 256
tags:
ASP.NET Programming Logging HQL NHIbernate another
Everyones tags:
Your Tags: