-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: MBUnit and show_sql
PostPosted: Mon Jan 12, 2009 1:56 pm 
Newbie

Joined: Mon Aug 11, 2008 5:45 am
Posts: 15
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

2.0:

I have a test setup in which we are using MBUnit and SqlServerCE. I want to see the sql statements going to the sqlserverce. I tried to provide show_sql=true in configuration properties but I couldn't see anything.

I also followed few posts regarding Log4Net but nothing seems to be working. Could anyone please help me so that I can see the sql generated by NHibernate during testing.

Thanks.

Syed


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 13, 2009 8:31 am 
Newbie

Joined: Mon Aug 11, 2008 5:45 am
Posts: 15
I think MBUnit doesn't show the output in the output window of vs. I had to configure log4net to generate the sql logs in a file.
I followed these post
http://www.beansoftware.com/asp.net-tut ... g4net.aspx
http://laany.blogspot.com/2008/09/nhibe ... ogger.html

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.