Logging NHibernate SQL with log4net in ASP.NET(leniel.net)

submitted by lenielleniel(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...

add a comment |category: |Views: 256

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story