How do I view the SQL that is generated by nHibernate?

前端 未结 9 2093
Happy的楠姐
Happy的楠姐 2020-12-03 00:41

How do I view the SQL that is generated by nHibernate? version 1.2

9条回答
  •  悲哀的现实
    2020-12-03 01:33

    In the configuration settings, set the "show_sql" property to true. This will cause the SQL to be output in NHibernate's logfiles courtesy of log4net.

提交回复
热议问题