-->
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.  [ 1 post ] 
Author Message
 Post subject: Request: Log bound SQL column values with SQL statements
PostPosted: Tue Dec 27, 2005 1:22 pm 
Expert
Expert

Joined: Fri Oct 28, 2005 5:38 pm
Posts: 390
Location: Cedarburg, WI
I'm trying to examine the SQL executed by NHibernate, but when I set the level of the NHibernate.SQL logger to DEBUG, I still don't get the column values actually used. I.e. I only get something like this:

Code:
2005-12-27 11:08:07,378 [7596] DEBUG NHibernate.SQL - INSERT INTO my_table (column1, column2, column3) VALUES (@p0, @p1, @p2)


When I could really use something like this:

Code:
2005-12-27 11:08:07,378 [7596] DEBUG NHibernate.SQL - INSERT INTO my_table (column1, column2, column3) VALUES (@p0, @p1, @p2)
@p0 = 'foobar', @p1 = 42, @p2 = '2005-12-27 11:08:07'


Please consider logging the actual column values.


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

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.