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: SQL Profiler
PostPosted: Fri Oct 28, 2005 12:26 am 
Regular
Regular

Joined: Mon May 30, 2005 11:20 pm
Posts: 66
Hi, trying to audit SQL in/out of SQL server from one of our apps which uses NHibernate. Tool I use is SQL Profiler. I noticed a lot of "SELECT" statements using "SQL:StmtCompleted" or "SQL:BatchCompleted" - however, I can't locate the expected UPDATE/DELETE. I do, however, notice a lot of "Unprepare statement" - but it doesn't show the SQL statement being executed against the SQL Server. It surely occurred, but which event/data column should I monitor?

Thanks in advance.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 28, 2005 10:54 am 
Senior
Senior

Joined: Sat Sep 10, 2005 3:46 pm
Posts: 178
I generally just use the default filters and and adjust them to filter on the host and database name. Everthing appears fine for me. It sounds like you must have some weird filter in the mix that is stopping the other statements from appearing.


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.